gmime2: use checkInputs, fix tests
This commit is contained in:
parent
cca7c9f78e
commit
b096f35369
1 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, zlib, libgpgerror, gobjectIntrospection }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, libgpgerror, gobjectIntrospection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6.23";
|
||||
|
@ -15,6 +15,17 @@ stdenv.mkDerivation rec {
|
|||
propagatedBuildInputs = [ glib zlib libgpgerror ];
|
||||
configureFlags = [ "--enable-introspection=yes" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/testsuite.c \
|
||||
--replace /bin/rm rm \
|
||||
--replace /bin/mkdir mkdir
|
||||
|
||||
substituteInPlace tests/test-pkcs7.c \
|
||||
--replace /bin/mkdir mkdir
|
||||
'';
|
||||
|
||||
checkInputs = [ gnupg ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue