lv2: add dev output

Also put programs there since those are just development tools,
that would bring unnecessary Python dependency into out’s runtime closure.
This commit is contained in:
Jonathan Ringer 2022-02-13 11:02:44 -08:00 committed by Jonathan Ringer
parent 2dfe209c3e
commit 9858da4185

View file

@ -12,6 +12,8 @@ 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=";
@ -27,7 +29,10 @@ stdenv.mkDerivation rec {
python3
];
wafConfigureFlags = lib.optionals stdenv.isDarwin [
wafConfigureFlags = [
"--includedir=${placeholder "dev"}/include"
"--bindir=${placeholder "dev"}/bin"
] ++ lib.optionals stdenv.isDarwin [
"--lv2dir=${placeholder "out"}/lib/lv2"
];