2017-12-07 13:08:26 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python, serd, pcre }:
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sord-${version}";
|
2016-11-01 00:29:04 +00:00
|
|
|
version = "0.16.0";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
2016-11-01 00:29:04 +00:00
|
|
|
sha256 = "0nh3i867g9z4kdlnk82cg2kcw8r02qgifxvkycvzb4vfjv4v4g4x";
|
2012-07-05 21:29:45 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-12-07 13:08:26 +00:00
|
|
|
buildInputs = [ python serd pcre ];
|
2012-07-05 21:29:45 +00:00
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
buildPhase = "${python.interpreter} waf";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
installPhase = "${python.interpreter} waf install";
|
2012-07-05 21:29:45 +00:00
|
|
|
|
|
|
|
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 ];
|
2014-03-16 11:08:26 +00:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 21:29:45 +00:00
|
|
|
};
|
|
|
|
}
|