1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, icu, catch2 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-ww7Kqzlnf7065i9RZLeFDUOPBMCVgV/6sBnN0+WvBTk=";
14 nativeBuildInputs = [ cmake pkg-config ];
15 buildInputs = [ catch2 ];
16 propagatedBuildInputs = [ icu ];
18 cmakeFlags = [ "-DBUILD_TESTING=YES" ];
21 outputs = [ "out" "lib" "dev" ];
24 description = "Free and open source C++ spell checking library";
25 homepage = "https://nuspell.github.io/";
26 platforms = platforms.all;
27 maintainers = with maintainers; [ fpletz ];
28 license = licenses.lgpl3Plus;
29 changelog = "https://github.com/nuspell/nuspell/blob/v${version}/CHANGELOG.md";