nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 666 B view raw
1{ 2 lib, 3 buildEnv, 4 nuspell, 5 hunspellDicts, 6 makeBinaryWrapper, 7}: 8 9lib.makeOverridable ( 10 dicts: f: 11 buildEnv { 12 inherit (lib.appendToName "with-dicts" nuspell) name version; 13 14 paths = f dicts; 15 16 pathsToLink = [ "/share/hunspell" ]; 17 18 nativeBuildInputs = [ makeBinaryWrapper ]; 19 20 postBuild = '' 21 makeWrapper ${lib.getExe nuspell} $out/bin/nuspell \ 22 --prefix DICPATH : $out/share/hunspell 23 ''; 24 25 meta = { 26 inherit (nuspell.meta) 27 description 28 longDescription 29 homepage 30 changelog 31 license 32 maintainers 33 mainProgram 34 platforms 35 ; 36 }; 37 } 38) hunspellDicts