uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/libraries/lrdf/default.nix
Normal file
36
pkgs/development/libraries/lrdf/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, lib, 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 = 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 = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.marcweber ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue