2020-03-23 00:14:40 +00:00
|
|
|
{ config, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
|
2016-01-17 23:04:40 +00:00
|
|
|
, librdf_raptor2, ladspaH, openssl, zlib
|
2019-03-14 13:25:29 +00:00
|
|
|
, doCheck ? config.doCheckByDefault or false, ladspaPlugins
|
2013-03-02 14:45:13 +00:00
|
|
|
}:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2013-03-02 14:45:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-03-23 00:14:40 +00:00
|
|
|
pname = "lrdf";
|
|
|
|
version = "0.6.1";
|
2009-09-21 09:58:21 +00:00
|
|
|
|
2020-03-23 00:14:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "swh";
|
|
|
|
repo = "LRDF";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
|
2009-09-21 09:58:21 +00:00
|
|
|
};
|
|
|
|
|
2018-07-17 23:11:12 +00:00
|
|
|
postPatch = stdenv.lib.optionalString doCheck ''
|
|
|
|
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
|
|
|
|
'';
|
2013-02-03 14:56:48 +00:00
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2013-03-02 14:45:13 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ librdf_raptor2 ];
|
|
|
|
|
2018-07-17 23:11:12 +00:00
|
|
|
inherit doCheck;
|
|
|
|
|
2020-03-23 00:14:40 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-03-02 14:45:13 +00:00
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Lightweight RDF library with special support for LADSPA plugins";
|
2017-08-02 21:50:51 +00:00
|
|
|
homepage = https://sourceforge.net/projects/lrdf/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-28 11:55:54 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-21 09:58:21 +00:00
|
|
|
};
|
|
|
|
}
|