2012-07-05 22:29:45 +01:00
|
|
|
{ stdenv, fetchurl, pcre, pkgconfig, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "serd-${version}";
|
2016-11-01 00:29:42 +00:00
|
|
|
version = "0.24.0";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
2016-11-01 00:29:42 +00:00
|
|
|
sha256 = "0v3a9xss5ailrnb3flfjyl6l9pmp51dc02p0lr6phvwsipg8mywc";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pcre pkgconfig python ];
|
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
|
|
|
installPhase = "python waf install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://drobilla.net/software/serd;
|
|
|
|
description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2014-03-16 11:08:26 +00:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|