2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lv2";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "1.18.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "sha256-TokfvHRMBYVb6136gugisUkX3Wbpj4K4Iw29HHqy4F4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wafHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk2 libsndfile python3 ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
wafConfigureFlags = lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
homepage = "https://lv2plug.in";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A plugin standard for audio systems";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2020-08-20 17:08:02 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|