nixpkgs/pkgs/development/libraries/lrdf/default.nix

37 lines
968 B
Nix
Raw Normal View History

{ config, lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, librdf_raptor2, ladspaH, openssl, zlib
, doCheck ? config.doCheckByDefault or false, ladspaPlugins
2013-03-02 14:45:13 +00:00
}:
2013-03-02 14:45:13 +00:00
stdenv.mkDerivation rec {
pname = "lrdf";
version = "0.6.1";
src = fetchFromGitHub {
owner = "swh";
repo = "LRDF";
rev = "v${version}";
sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
};
postPatch = lib.optionalString doCheck ''
2018-07-18 00:11:12 +01:00
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
'';
nativeBuildInputs = [ autoreconfHook pkg-config ];
2013-03-02 14:45:13 +00:00
propagatedBuildInputs = [ librdf_raptor2 ];
2018-07-18 00:11:12 +01:00
inherit doCheck;
enableParallelBuilding = true;
2013-03-02 14:45:13 +00:00
meta = {
description = "Lightweight RDF library with special support for LADSPA plugins";
homepage = "https://sourceforge.net/projects/lrdf/";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.marcweber ];
platforms = lib.platforms.linux;
};
}