2017-12-07 13:04:43 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python }:
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "serd-${version}";
|
2018-08-21 20:44:32 +00:00
|
|
|
version = "0.30.0";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://download.drobilla.net/${name}.tar.bz2";
|
2018-08-21 20:44:32 +00:00
|
|
|
sha256 = "1yyfyvc6kwagi5w43ljp1bbjdvdpmgpds74lmjxycm91bkx0xyvf";
|
2012-07-05 21:29:45 +00:00
|
|
|
};
|
|
|
|
|
2017-12-07 13:04:43 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
2012-07-05 21:29:45 +00:00
|
|
|
|
2017-12-07 13:04:43 +00:00
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
2017-12-07 13:04:43 +00:00
|
|
|
buildPhase = "python waf";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
2017-12-07 13:04:43 +00:00
|
|
|
installPhase = "python waf install";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
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 21:29:45 +00:00
|
|
|
};
|
|
|
|
}
|