4 dict = variant: a: stdenv.mkDerivation ({
5 inherit (hspell) version src patchPhase nativeBuildInputs;
6 buildFlags = [ variant ];
8 meta = hspell.meta // {
10 description = "${variant} Hebrew dictionary";
11 } // (if a ? meta then a.meta else {});
12 } // (removeAttrs a ["meta"]));
15 recurseForDerivations = true;
17 aspell = dict "aspell" {
18 pname = "aspell-dict-he";
21 mkdir -p $out/lib/aspell
22 cp -v he_affix.dat he.wl $out/lib/aspell'';
25 myspell = dict "myspell" {
26 pname = "myspell-dict-he";
29 mkdir -p $out/lib/myspell
30 cp -v he.dic he.aff $out/lib/myspell'';
33 hunspell = dict "hunspell" {
34 pname = "hunspell-dict-he";
38 cp -rv hunspell $out/lib'';