1{ stdenv, fetchurl, pkgconfig, python, serd }:
2
3stdenv.mkDerivation rec {
4 name = "sord-${version}";
5 version = "0.16.0";
6
7 src = fetchurl {
8 url = "http://download.drobilla.net/${name}.tar.bz2";
9 sha256 = "0nh3i867g9z4kdlnk82cg2kcw8r02qgifxvkycvzb4vfjv4v4g4x";
10 };
11
12 buildInputs = [ pkgconfig python serd ];
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/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}