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