nuspell: 2.1.0 -> 2.2.0
This commit is contained in:
parent
2792a26553
commit
7c0e94c5d0
@ -1,23 +1,24 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, boost, icu, catch2 }:
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, icu, catch2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nuspell-${version}";
|
name = "nuspell-${version}";
|
||||||
version = "2.1.0";
|
version = "2.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nuspell";
|
owner = "nuspell";
|
||||||
repo = "nuspell";
|
repo = "nuspell";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0gcw3p1agnx474r7kv27y9jyab20p4j4xx7j9a2yssg54qabm71j";
|
sha256 = "17khkb1sxn1p6rfql72l7a4lxafbxj0dwi95hsmyi6wajvfrg9sy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
buildInputs = [ boost icu ];
|
buildInputs = [ boost icu ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preBuild = ''
|
postPatch = ''
|
||||||
ln -s ${catch2}/include/catch2/*.hpp tests/
|
rm -rf external/Catch2
|
||||||
|
ln -sf ${catch2.src} external/Catch2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user