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

25 lines
716 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
stdenv.mkDerivation rec {
pname = "lv2";
2021-01-20 04:34:29 +00:00
version = "1.18.2";
src = fetchurl {
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
2021-01-20 04:34:29 +00:00
sha256 = "sha256-TokfvHRMBYVb6136gugisUkX3Wbpj4K4Iw29HHqy4F4=";
};
nativeBuildInputs = [ pkg-config wafHook ];
2019-12-14 18:51:20 +00:00
buildInputs = [ gtk2 libsndfile python3 ];
wafConfigureFlags = lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
2020-07-20 10:22:00 +01:00
meta = with 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;
};
}