1{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
2
3stdenv.mkDerivation rec {
4 name = "lilv-${version}";
5 version = "0.20.0";
6
7 src = fetchurl {
8 url = "http://download.drobilla.net/${name}.tar.bz2";
9 sha256 = "0aj2plkx56iar8vzjbq2l7hi7sp0ml99m0h44rgwai2x4vqkk2j2";
10 };
11
12 buildInputs = [ lv2 pkgconfig python serd sord sratom ];
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://drobilla.net/software/lilv;
22 description = "A C library to make the use of LV2 plugins";
23 license = licenses.mit;
24 maintainers = [ maintainers.goibhniu ];
25 platforms = platforms.linux;
26 };
27}