nuspell: 2.2.0 -> 2.3.0

This commit is contained in:
Franz Pletz 2019-08-12 19:51:58 +02:00
parent 2ae308a414
commit fe9c676e99
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,19 +1,21 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, icu, catch2 }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, icu, catch2, ronn }:
stdenv.mkDerivation rec {
name = "nuspell-${version}";
version = "2.2.0";
version = "2.3.0";
src = fetchFromGitHub {
owner = "nuspell";
repo = "nuspell";
rev = "v${version}";
sha256 = "17khkb1sxn1p6rfql72l7a4lxafbxj0dwi95hsmyi6wajvfrg9sy";
sha256 = "0n5cajrp1fhk8p54ch3akkd9nl8b9c6wwf25980dhagcdys3vab3";
};
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkgconfig ronn ];
buildInputs = [ boost icu ];
outputs = [ "out" "lib" "dev" "man" ];
enableParallelBuilding = true;
postPatch = ''
@ -21,6 +23,10 @@ stdenv.mkDerivation rec {
ln -sf ${catch2.src} external/Catch2
'';
postInstall = ''
rm -rf $out/share/doc
'';
meta = with stdenv.lib; {
description = "Free and open source C++ spell checking library";
homepage = "https://nuspell.github.io/";