diff options
Diffstat (limited to 'pkgs/development/libraries/nuspell/default.nix')
-rw-r--r-- | pkgs/development/libraries/nuspell/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/libraries/nuspell/default.nix b/pkgs/development/libraries/nuspell/default.nix index b667dea8d49ff..91318c802d8fb 100644 --- a/pkgs/development/libraries/nuspell/default.nix +++ b/pkgs/development/libraries/nuspell/default.nix @@ -1,19 +1,21 @@ -{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, icu, catch2 }: +{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, icu, catch2, ronn }: stdenv.mkDerivation rec { name = "nuspell-${version}"; - version = "2.2.0"; + version = "2.3.0"; src = fetchFromGitHub { owner = "nuspell"; repo = "nuspell"; rev = "v${version}"; - sha256 = "17khkb1sxn1p6rfql72l7a4lxafbxj0dwi95hsmyi6wajvfrg9sy"; + sha256 = "0n5cajrp1fhk8p54ch3akkd9nl8b9c6wwf25980dhagcdys3vab3"; }; - nativeBuildInputs = [ cmake pkgconfig ]; + nativeBuildInputs = [ cmake pkgconfig ronn ]; buildInputs = [ boost icu ]; + outputs = [ "out" "lib" "dev" "man" ]; + enableParallelBuilding = true; postPatch = '' @@ -21,6 +23,10 @@ stdenv.mkDerivation rec { ln -sf ${catch2.src} external/Catch2 ''; + postInstall = '' + rm -rf $out/share/doc + ''; + meta = with stdenv.lib; { description = "Free and open source C++ spell checking library"; homepage = "https://nuspell.github.io/"; |