diff options
author | Alan Pearce | 2024-11-17 16:00:00 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-17 16:00:00 +0100 |
commit | 79578339569fd224a66801d1f35176be994e70c3 (patch) | |
tree | 52d576261fc0ee32c8f6f8bc366cef5b8b69c91c /pkgs | |
parent | 565f2e1b4b1fabfd509c67b2bd7302551c7add27 (diff) | |
download | nix-packages-main.tar.lz nix-packages-main.tar.zst nix-packages-main.zip |
https://github.com/NixOS/nixpkgs/pull/310613 was merged
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/enchant-configurable/default.nix | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/pkgs/enchant-configurable/default.nix b/pkgs/enchant-configurable/default.nix deleted file mode 100644 index 0afe168..0000000 --- a/pkgs/enchant-configurable/default.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ stdenv -, lib -, fetchurl -, aspell -, groff -, pkg-config -, glib -, hunspell -, hspell -, nuspell -, unittest-cpp - -, withHspell ? true -, withAspell ? true -, withHunspell ? true -, withNuspell ? true -, withAppleSpell ? stdenv.isDarwin - -, Cocoa -}: - -assert withAppleSpell -> stdenv.isDarwin; - -stdenv.mkDerivation rec { - pname = "enchant"; - version = "2.6.9"; - - outputs = [ "out" "dev" ]; - - src = fetchurl { - url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz"; - hash = "sha256-2aWhDcmzikOzoPoix27W67fgnrU1r/YpVK/NvUDv/2s="; - }; - - strictDeps = true; - - nativeBuildInputs = [ - groff - pkg-config - ]; - - buildInputs = [ - glib - ] ++ lib.optionals withHunspell [ - hunspell - ] ++ lib.optionals withNuspell [ - nuspell - ] ++ lib.optionals withAppleSpell [ - Cocoa - ]; - - checkInputs = [ - unittest-cpp - ]; - - # libtool puts these to .la files - propagatedBuildInputs = lib.optionals withHspell [ - hspell - ] ++ lib.optionals withAspell [ - aspell - ]; - - enableParallelBuilding = true; - - doCheck = true; - - configureFlags = [ - "--enable-relocatable" # needed for tests - (lib.withFeature withAspell "aspell") - (lib.withFeature withHspell "hspell") - (lib.withFeature withHunspell "hunspell") - (lib.withFeature withNuspell "nuspell") - (lib.withFeature withAppleSpell "applespell") - ]; - - meta = with lib; { - description = "Generic spell checking library"; - homepage = "https://abiword.github.io/enchant/"; - license = licenses.lgpl21Plus; # with extra provision for non-free checkers - platforms = platforms.unix; - }; -} |