make lilv and sord svn versions separate.

This commit is contained in:
Bart Brouns
2015-05-04 11:58:12 +02:00
parent d362c6ff98
commit 9bf7b293e6
6 changed files with 74 additions and 18 deletions
+6 -7
View File
@@ -1,13 +1,12 @@
{ stdenv, fetchsvn, pkgconfig, python, serd }:
{ stdenv, fetchurl, pkgconfig, python, serd }:
stdenv.mkDerivation rec {
name = "sord-svn-${rev}";
rev = "327";
name = "sord-${version}";
version = "0.12.2";
src = fetchsvn {
url = "http://svn.drobilla.net/sord/trunk";
rev = rev;
sha256 = "09lf6xmwfg8kbmz1b7d3hrpz0qqr8prdjqrp91aw70cgclx2pwc4";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx";
};
buildInputs = [ pkgconfig python serd ];
@@ -0,0 +1,28 @@
{ stdenv, fetchsvn, pkgconfig, python, serd }:
stdenv.mkDerivation rec {
name = "sord-svn-${rev}";
rev = "327";
src = fetchsvn {
url = "http://svn.drobilla.net/sord/trunk";
rev = rev;
sha256 = "09lf6xmwfg8kbmz1b7d3hrpz0qqr8prdjqrp91aw70cgclx2pwc4";
};
buildInputs = [ pkgconfig python serd ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
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 ];
platforms = platforms.linux;
};
}