librdf: fix tests
This commit is contained in:
parent
b8d0cd2e48
commit
5a47803815
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook
|
||||||
, librdf_raptor2, ladspaH, openssl, zlib
|
, librdf_raptor2, ladspaH, openssl, zlib
|
||||||
|
, doCheck ? stdenv.config.doCheckByDefault or false, ladspaPlugins
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,14 +12,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
|
sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
|
||||||
};
|
};
|
||||||
|
|
||||||
preAutoreconf = "rm m4/*";
|
postPatch = stdenv.lib.optionalString doCheck ''
|
||||||
postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c";
|
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
|
||||||
|
'';
|
||||||
|
|
||||||
|
preAutoreconf = "rm m4/*";
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ ladspaH openssl zlib ];
|
buildInputs = [ ladspaH openssl zlib ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ librdf_raptor2 ];
|
propagatedBuildInputs = [ librdf_raptor2 ];
|
||||||
|
|
||||||
|
inherit doCheck;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Lightweight RDF library with special support for LADSPA plugins";
|
description = "Lightweight RDF library with special support for LADSPA plugins";
|
||||||
homepage = https://sourceforge.net/projects/lrdf/;
|
homepage = https://sourceforge.net/projects/lrdf/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user