lol
1{ stdenv, fetchurl, pkgconfig, python, serd }:
2
3stdenv.mkDerivation rec {
4 name = "sord-${version}";
5 version = "0.12.2";
6
7 src = fetchurl {
8 url = "http://download.drobilla.net/${name}.tar.bz2";
9 sha256 = "0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx";
10 };
11
12 buildInputs = [ pkgconfig python serd ];
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/sord;
22 description = "A lightweight C library for storing RDF data in memory";
23 license = licenses.mit;
24 maintainers = [ maintainers.goibhniu ];
25 platforms = platforms.linux;
26 };
27}