1{ stdenv, fetchurl, gtk, libsndfile, pkgconfig, python }:
2
3stdenv.mkDerivation rec {
4 name = "lv2-${version}";
5 version = "1.12.0";
6
7 src = fetchurl {
8 url = "http://lv2plug.in/spec/${name}.tar.bz2";
9 sha256 = "1saq0vwqy5zjdkgc5ahs8kcabxfmff2mmg68fiqrkv8hiw9m6jks";
10 };
11
12 buildInputs = [ gtk libsndfile pkgconfig python ];
13
14 configurePhase = "python waf configure --prefix=$out";
15
16 buildPhase = "python waf";
17
18 installPhase = "python waf install";
19
20 meta = with stdenv.lib; {
21 homepage = http://lv2plug.in;
22 description = "A plugin standard for audio systems";
23 license = licenses.mit;
24 maintainers = [ maintainers.goibhniu ];
25 platforms = platforms.linux;
26 };
27}