Merge pull request #195212 from nagy/nuspell-512
This commit is contained in:
commit
2c874bf579
1 changed files with 6 additions and 9 deletions
|
@ -1,35 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, icu, catch2, pandoc }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, icu, catch2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nuspell";
|
||||
version = "5.0.1";
|
||||
version = "5.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nuspell";
|
||||
repo = "nuspell";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ogA7ycqdMUTN/KHV2oZzytnhZ7XVuhx+ArXZqLlmwjk=";
|
||||
sha256 = "sha256-nGC8Um9GutJZXlUcUCK0IiHxMaZmeoe4febw/jC2dRU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config pandoc ];
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ icu ];
|
||||
|
||||
outputs = [ "out" "lib" "dev" "man" ];
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
postPatch = ''
|
||||
rm -rf external/Catch2
|
||||
ln -sf ${catch2.src} external/Catch2
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm -rf $out/share/doc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free and open source C++ spell checking library";
|
||||
homepage = "https://nuspell.github.io/";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
license = licenses.lgpl3Plus;
|
||||
changelog = "https://github.com/nuspell/nuspell/blob/v${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue