3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/audio/lv2/default.nix

25 lines
726 B
Nix
Raw Normal View History

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