2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "lv2";
|
2021-01-20 04:34:29 +00:00
|
|
|
version = "1.18.2";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-22 10:26:22 +00:00
|
|
|
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
|
2021-01-20 04:34:29 +00:00
|
|
|
sha256 = "sha256-TokfvHRMBYVb6136gugisUkX3Wbpj4K4Iw29HHqy4F4=";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wafHook ];
|
2019-12-14 18:51:20 +00:00
|
|
|
buildInputs = [ gtk2 libsndfile python3 ];
|
2012-07-05 22:29:45 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
wafConfigureFlags = lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
|
2020-07-20 10:22:00 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 15:59:18 +01:00
|
|
|
homepage = "https://lv2plug.in";
|
2012-07-05 22:29:45 +01:00
|
|
|
description = "A plugin standard for audio systems";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2020-07-20 10:22:00 +01:00
|
|
|
platforms = platforms.unix;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|