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

View File

@@ -1,13 +1,12 @@
{ stdenv, fetchsvn, lv2, pkgconfig, python, serd, sord, sratom }:
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
stdenv.mkDerivation rec {
name = "lilv-svn-${rev}";
rev = "5675";
name = "lilv-${version}";
version = "0.20.0";
src = fetchsvn {
url = "http://svn.drobilla.net/lad/trunk/lilv";
rev = rev;
sha256 = "1wr61sivgbh0j271ix058sncsrgh9p2rh7af081s2z9ml8szgraq";
src = fetchurl {
url = "http://download.drobilla.net/${name}.tar.bz2";
sha256 = "0aj2plkx56iar8vzjbq2l7hi7sp0ml99m0h44rgwai2x4vqkk2j2";
};
buildInputs = [ lv2 pkgconfig python serd sord sratom ];

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchsvn, lv2, pkgconfig, python, serd, sord-svn, sratom }:
stdenv.mkDerivation rec {
name = "lilv-svn-${rev}";
rev = "5675";
src = fetchsvn {
url = "http://svn.drobilla.net/lad/trunk/lilv";
rev = rev;
sha256 = "1wr61sivgbh0j271ix058sncsrgh9p2rh7af081s2z9ml8szgraq";
};
buildInputs = [ lv2 pkgconfig python serd sord-svn sratom ];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf";
installPhase = "python waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/lilv;
description = "A C library to make the use of LV2 plugins";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}