2017-12-07 05:08:26 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python, serd, pcre }:
|
2012-07-05 14:29:45 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sord-${version}";
|
2018-08-21 13:45:12 -07:00
|
|
|
version = "0.16.2";
|
2012-07-05 14:29:45 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 11:43:35 -07:00
|
|
|
url = "https://download.drobilla.net/${name}.tar.bz2";
|
2018-08-21 13:45:12 -07:00
|
|
|
sha256 = "13fshxwpipjrvsah1m2jw1kf022z2q5vpw24bzcznglgvms13x89";
|
2012-07-05 14:29:45 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-12-07 05:08:26 -08:00
|
|
|
buildInputs = [ python serd pcre ];
|
2012-07-05 14:29:45 -07:00
|
|
|
|
2016-10-31 18:00:07 -07:00
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
2012-07-05 14:29:45 -07:00
|
|
|
|
2016-10-31 18:00:07 -07:00
|
|
|
buildPhase = "${python.interpreter} waf";
|
2012-07-05 14:29:45 -07:00
|
|
|
|
2016-10-31 18:00:07 -07:00
|
|
|
installPhase = "${python.interpreter} waf install";
|
2012-07-05 14:29:45 -07: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 04:08:26 -07:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 14:29:45 -07:00
|
|
|
};
|
|
|
|
}
|