nixpkgs/pkgs/development/libraries/audio/lv2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
974 B
Nix
Raw Normal View History

2022-03-16 00:27:11 +00:00
{ stdenv
, lib
, fetchurl
, libsndfile
, pkg-config
, python3
, wafHook
, pipewire
2022-03-16 00:27:11 +00:00
}:
stdenv.mkDerivation rec {
pname = "lv2";
2021-01-20 04:34:29 +00:00
version = "1.18.2";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
2021-01-20 04:34:29 +00:00
sha256 = "sha256-TokfvHRMBYVb6136gugisUkX3Wbpj4K4Iw29HHqy4F4=";
};
2022-03-16 00:27:11 +00:00
nativeBuildInputs = [
pkg-config
wafHook
python3
2022-03-16 00:27:11 +00:00
];
2022-03-16 00:27:11 +00:00
buildInputs = [
libsndfile
python3
];
wafConfigureFlags = [
"--includedir=${placeholder "dev"}/include"
"--bindir=${placeholder "dev"}/bin"
] ++ lib.optionals stdenv.isDarwin [
2022-03-16 00:27:11 +00:00
"--lv2dir=${placeholder "out"}/lib/lv2"
];
dontAddWafCrossFlags = true;
2020-07-20 10:22:00 +01:00
passthru.tests = {
inherit pipewire;
};
meta = with lib; {
2020-04-24 15:59:18 +01:00
homepage = "https://lv2plug.in";
description = "A plugin standard for audio systems";
license = licenses.mit;
2022-03-16 00:27:11 +00:00
maintainers = with maintainers; [ goibhniu ];
2020-07-20 10:22:00 +01:00
platforms = platforms.unix;
};
}