Merge pull request #195212 from nagy/nuspell-512

This commit is contained in:
Franz Pletz 2022-10-11 13:55:10 +02:00 committed by GitHub
commit 2c874bf579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
};
}