From 3d6db82cbd1aa4ef91186c3bdb0dd167fc54f9da Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 16 Sep 2023 17:13:31 +0100 Subject: [PATCH] nuspell: 5.1.2 -> 5.1.3 While at it added testsuite support. Changes: https://github.com/nuspell/nuspell/releases/tag/v5.1.3 --- pkgs/development/libraries/nuspell/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/nuspell/default.nix b/pkgs/development/libraries/nuspell/default.nix index 9369b8cb5f29..5ef4f676aebc 100644 --- a/pkgs/development/libraries/nuspell/default.nix +++ b/pkgs/development/libraries/nuspell/default.nix @@ -2,24 +2,23 @@ stdenv.mkDerivation rec { pname = "nuspell"; - version = "5.1.2"; + version = "5.1.3"; src = fetchFromGitHub { owner = "nuspell"; repo = "nuspell"; rev = "v${version}"; - sha256 = "sha256-nGC8Um9GutJZXlUcUCK0IiHxMaZmeoe4febw/jC2dRU="; + hash = "sha256-ww7Kqzlnf7065i9RZLeFDUOPBMCVgV/6sBnN0+WvBTk="; }; nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ catch2 ]; propagatedBuildInputs = [ icu ]; - outputs = [ "out" "lib" "dev" ]; + cmakeFlags = [ "-DBUILD_TESTING=YES" ]; + doCheck = true; - postPatch = '' - rm -rf external/Catch2 - ln -sf ${catch2.src} external/Catch2 - ''; + outputs = [ "out" "lib" "dev" ]; meta = with lib; { description = "Free and open source C++ spell checking library";