uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
67
pkgs/applications/editors/texmacs/default.nix
Normal file
67
pkgs/applications/editors/texmacs/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{ lib, mkDerivation, callPackage, fetchurl,
|
||||
guile_1_8, qtbase, xmodmap, which, freetype,
|
||||
libjpeg,
|
||||
sqlite,
|
||||
tex ? null,
|
||||
aspell ? null,
|
||||
git ? null,
|
||||
python3 ? null,
|
||||
cmake,
|
||||
pkg-config,
|
||||
ghostscriptX ? null,
|
||||
extraFonts ? false,
|
||||
chineseFonts ? false,
|
||||
japaneseFonts ? false,
|
||||
koreanFonts ? false }:
|
||||
|
||||
let
|
||||
pname = "TeXmacs";
|
||||
version = "2.1";
|
||||
common = callPackage ./common.nix {
|
||||
inherit tex extraFonts chineseFonts japaneseFonts koreanFonts;
|
||||
};
|
||||
in
|
||||
mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
|
||||
sha256 = "1gl6k1bwrk1y7hjyl4xvlqvmk5crl4jvsk8wrfp7ynbdin6n2i48";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
guile_1_8
|
||||
qtbase
|
||||
ghostscriptX
|
||||
freetype
|
||||
libjpeg
|
||||
sqlite
|
||||
git
|
||||
python3
|
||||
];
|
||||
NIX_LDFLAGS = "-lz";
|
||||
|
||||
qtWrapperArgs = [
|
||||
"--suffix" "PATH" ":" (lib.makeBinPath [
|
||||
xmodmap
|
||||
which
|
||||
ghostscriptX
|
||||
aspell
|
||||
tex
|
||||
git
|
||||
python3
|
||||
])
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapQtApp $out/bin/texmacs
|
||||
'';
|
||||
|
||||
inherit (common) postPatch;
|
||||
|
||||
meta = common.meta // {
|
||||
maintainers = [ lib.maintainers.roconnor ];
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue