1 { config, lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
2 , librdf_raptor2, ladspaH, openssl, zlib
3 , doCheck ? config.doCheckByDefault or false, ladspaPlugins
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
17 postPatch = lib.optionalString doCheck ''
18 sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
21 nativeBuildInputs = [ autoreconfHook pkg-config ];
23 propagatedBuildInputs = [ librdf_raptor2 ];
27 enableParallelBuilding = true;
30 description = "Lightweight RDF library with special support for LADSPA plugins";
31 homepage = "https://sourceforge.net/projects/lrdf/";
32 license = lib.licenses.gpl2;
33 maintainers = [ lib.maintainers.marcweber ];
34 platforms = lib.platforms.unix;