lol
1{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }:
2
3stdenv.mkDerivation rec {
4 name = "sratom-${version}";
5 version = "0.6.0";
6
7 src = fetchurl {
8 url = "http://download.drobilla.net/${name}.tar.bz2";
9 sha256 = "0hrxd9i66s06bpn6i3s9ka95134g3sm8yscmif7qgdzhyjqw42j4";
10 };
11
12 buildInputs = [ lv2 pkgconfig python serd sord ];
13
14 configurePhase = "${python.interpreter} waf configure --prefix=$out";
15
16 buildPhase = "${python.interpreter} waf";
17
18 installPhase = "${python.interpreter} waf install";
19
20 meta = with stdenv.lib; {
21 homepage = http://drobilla.net/software/sratom;
22 description = "A library for serialising LV2 atoms to/from RDF";
23 license = licenses.mit;
24 maintainers = [ maintainers.goibhniu ];
25 platforms = platforms.linux;
26 };
27}