2012-07-05 21:29:45 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python, serd }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sord-${version}";
|
2013-02-24 01:30:02 +00:00
|
|
|
version = "0.12.0";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
2013-02-24 01:30:02 +00:00
|
|
|
sha256 = "1f0wz7ynnk72hyr4jfi0lgvj90ld2va1kig8fkw30s8b903alsqj";
|
2012-07-05 21:29:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig python serd ];
|
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
|
|
|
installPhase = "python waf install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://drobilla.net/software/sord;
|
|
|
|
description = "A lightweight C library for storing RDF data in memory";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|