at 18.09-beta 28 lines 799 B view raw
1{ stdenv, fetchurl, pkgconfig, python, serd, pcre }: 2 3stdenv.mkDerivation rec { 4 name = "sord-${version}"; 5 version = "0.16.2"; 6 7 src = fetchurl { 8 url = "https://download.drobilla.net/${name}.tar.bz2"; 9 sha256 = "13fshxwpipjrvsah1m2jw1kf022z2q5vpw24bzcznglgvms13x89"; 10 }; 11 12 nativeBuildInputs = [ pkgconfig ]; 13 buildInputs = [ python serd pcre ]; 14 15 configurePhase = "${python.interpreter} waf configure --prefix=$out"; 16 17 buildPhase = "${python.interpreter} waf"; 18 19 installPhase = "${python.interpreter} waf install"; 20 21 meta = with stdenv.lib; { 22 homepage = http://drobilla.net/software/sord; 23 description = "A lightweight C library for storing RDF data in memory"; 24 license = licenses.mit; 25 maintainers = [ maintainers.goibhniu ]; 26 platforms = platforms.linux; 27 }; 28}