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";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "1.18.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "0gs7401xz23q9vajqr31aa2db8dvssgyh5zrvr4ipa6wig7yb8wh";
|
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
|
|
|
};
|
|
|
|
}
|