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
40
pkgs/development/libraries/hspell/dicts.nix
Normal file
40
pkgs/development/libraries/hspell/dicts.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ stdenv, hspell }:
|
||||
|
||||
let
|
||||
dict = variant: a: stdenv.mkDerivation ({
|
||||
inherit (hspell) version src patchPhase nativeBuildInputs;
|
||||
buildFlags = [ variant ];
|
||||
|
||||
meta = hspell.meta // {
|
||||
broken = true;
|
||||
description = "${variant} Hebrew dictionary";
|
||||
} // (if a ? meta then a.meta else {});
|
||||
} // (removeAttrs a ["meta"]));
|
||||
in
|
||||
{
|
||||
recurseForDerivations = true;
|
||||
|
||||
aspell = dict "aspell" {
|
||||
pname = "aspell-dict-he";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/aspell
|
||||
cp -v he_affix.dat he.wl $out/lib/aspell'';
|
||||
};
|
||||
|
||||
myspell = dict "myspell" {
|
||||
pname = "myspell-dict-he";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/myspell
|
||||
cp -v he.dic he.aff $out/lib/myspell'';
|
||||
};
|
||||
|
||||
hunspell = dict "hunspell" {
|
||||
pname = "hunspell-dict-he";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
cp -rv hunspell $out/lib'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue