2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python3, wafHook }:
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig wafHook ];
|
|
|
|
buildInputs = [ gtk2 libsndfile python3 ];
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
wafConfigureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with stdenv.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
|
|
|
};
|
|
|
|
}
|