depot/third_party/nixpkgs/pkgs/development/libraries/audio/lv2/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
717 B
Nix

{ lib, stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
stdenv.mkDerivation rec {
pname = "lv2";
version = "1.18.0";
src = fetchurl {
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
sha256 = "0gs7401xz23q9vajqr31aa2db8dvssgyh5zrvr4ipa6wig7yb8wh";
};
nativeBuildInputs = [ pkg-config wafHook ];
buildInputs = [ gtk2 libsndfile python3 ];
wafConfigureFlags = lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
meta = with lib; {
homepage = "https://lv2plug.in";
description = "A plugin standard for audio systems";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.unix;
};
}