diff options
author | Orivej Desh <orivej@gmx.fr> | 2020-03-22 23:18:53 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2020-03-23 00:22:36 +0000 |
commit | e1c308535442a95f8494d0dde12ff13e47276f64 (patch) | |
tree | c86589d1d10523deffc44f1195521901c3b8e1a6 /pkgs/development/libraries/lrdf | |
parent | 498a52e270d54ca7b080280c4f8e9291296cbb7d (diff) | |
download | nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.tar nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.tar.gz nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.tar.bz2 nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.tar.lz nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.tar.xz nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.tar.zst nixpkgs-e1c308535442a95f8494d0dde12ff13e47276f64.zip |
lrdf: move from librdf libraries
It was never called librdf and it is not a librdf.org project.
Diffstat (limited to 'pkgs/development/libraries/lrdf')
-rw-r--r-- | pkgs/development/libraries/lrdf/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/libraries/lrdf/default.nix b/pkgs/development/libraries/lrdf/default.nix new file mode 100644 index 00000000000..5b39940bb3f --- /dev/null +++ b/pkgs/development/libraries/lrdf/default.nix @@ -0,0 +1,34 @@ +{ config, stdenv, fetchurl, pkgconfig, autoreconfHook +, librdf_raptor2, ladspaH, openssl, zlib +, doCheck ? config.doCheckByDefault or false, ladspaPlugins +}: + +stdenv.mkDerivation rec { + version = "0.5.0"; + pname = "liblrdf"; + + src = fetchurl { + url = "https://github.com/swh/LRDF/archive/${version}.tar.gz"; + sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"; + }; + + 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/; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.marcweber ]; + platforms = stdenv.lib.platforms.linux; + }; +} |