nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 36 lines 967 B view raw
1{ config, lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook 2, librdf_raptor2, ladspaH, openssl, zlib 3, doCheck ? config.doCheckByDefault or false, ladspaPlugins 4}: 5 6stdenv.mkDerivation rec { 7 pname = "lrdf"; 8 version = "0.6.1"; 9 10 src = fetchFromGitHub { 11 owner = "swh"; 12 repo = "LRDF"; 13 rev = "v${version}"; 14 sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4"; 15 }; 16 17 postPatch = lib.optionalString doCheck '' 18 sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c 19 ''; 20 21 nativeBuildInputs = [ autoreconfHook pkg-config ]; 22 23 propagatedBuildInputs = [ librdf_raptor2 ]; 24 25 inherit doCheck; 26 27 enableParallelBuilding = true; 28 29 meta = { 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; 35 }; 36}