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
52
pkgs/development/libraries/audio/lv2/default.nix
Normal file
52
pkgs/development/libraries/audio/lv2/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, libsndfile
|
||||
, pkg-config
|
||||
, python3
|
||||
, wafHook
|
||||
, pipewire
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lv2";
|
||||
version = "1.18.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-TokfvHRMBYVb6136gugisUkX3Wbpj4K4Iw29HHqy4F4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wafHook
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsndfile
|
||||
python3
|
||||
];
|
||||
|
||||
wafConfigureFlags = [
|
||||
"--includedir=${placeholder "dev"}/include"
|
||||
"--bindir=${placeholder "dev"}/bin"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"--lv2dir=${placeholder "out"}/lib/lv2"
|
||||
];
|
||||
dontAddWafCrossFlags = true;
|
||||
|
||||
passthru.tests = {
|
||||
inherit pipewire;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://lv2plug.in";
|
||||
description = "A plugin standard for audio systems";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue