1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, icu, catch2, pandoc }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-sQ3Q2+FOf2bXCKcgd6XvEb+QZzzDccs/4+CpJbEd1PQ=";
14 nativeBuildInputs = [ cmake pkg-config pandoc ];
15 buildInputs = [ icu ];
17 outputs = [ "out" "lib" "dev" "man" ];
20 rm -rf external/Catch2
21 ln -sf ${catch2.src} external/Catch2
29 description = "Free and open source C++ spell checking library";
30 homepage = "https://nuspell.github.io/";
31 platforms = platforms.all;
32 maintainers = with maintainers; [ fpletz ];
33 license = licenses.lgpl3Plus;