From 5b1ed0c62f0f5e699fadfd08f5fc8b9b3dbc0b14 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 3 Feb 2019 13:08:43 +0100 Subject: nuspell: init at 2.1.0 --- pkgs/development/libraries/nuspell/wrapper.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkgs/development/libraries/nuspell/wrapper.nix (limited to 'pkgs/development/libraries/nuspell/wrapper.nix') diff --git a/pkgs/development/libraries/nuspell/wrapper.nix b/pkgs/development/libraries/nuspell/wrapper.nix new file mode 100644 index 00000000000..4386542ff20 --- /dev/null +++ b/pkgs/development/libraries/nuspell/wrapper.nix @@ -0,0 +1,13 @@ +{ stdenv, lib, nuspell, makeWrapper, dicts ? [] }: +with lib; +let + searchPath = makeSearchPath "share/hunspell" dicts; +in +stdenv.mkDerivation { + name = (appendToName "with-dicts" nuspell).name; + buildInputs = [ makeWrapper ]; + buildCommand = '' + makeWrapper ${nuspell}/bin/nuspell $out/bin/nuspell --prefix DICPATH : ${searchPath} + ''; + meta = removeAttrs nuspell.meta ["outputsToInstall"]; +} -- cgit 1.4.1