9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
37 lines
991 B
Nix
37 lines
991 B
Nix
{ config, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
|
|
, librdf_raptor2, ladspaH, openssl, zlib
|
|
, doCheck ? config.doCheckByDefault or false, ladspaPlugins
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lrdf";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "swh";
|
|
repo = "LRDF";
|
|
rev = "v${version}";
|
|
sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
|
|
};
|
|
|
|
postPatch = stdenv.lib.optionalString doCheck ''
|
|
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
propagatedBuildInputs = [ librdf_raptor2 ];
|
|
|
|
inherit doCheck;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Lightweight RDF library with special support for LADSPA plugins";
|
|
homepage = "https://sourceforge.net/projects/lrdf/";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|