mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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 {
|
||||
name = "nuspell-${version}";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nuspell";
|
||||
repo = "nuspell";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gcw3p1agnx474r7kv27y9jyab20p4j4xx7j9a2yssg54qabm71j";
|
||||
sha256 = "17khkb1sxn1p6rfql72l7a4lxafbxj0dwi95hsmyi6wajvfrg9sy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ boost icu ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preBuild = ''
|
||||
ln -s ${catch2}/include/catch2/*.hpp tests/
|
||||
postPatch = ''
|
||||
rm -rf external/Catch2
|
||||
ln -sf ${catch2.src} external/Catch2
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user