2012-07-05 22:29:45 +01:00
|
|
|
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sratom-${version}";
|
2014-08-31 11:11:36 +01:00
|
|
|
version = "0.4.6";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
2014-08-31 11:11:36 +01:00
|
|
|
sha256 = "080jjiyxjnj7hf25844hd9rb01grvzz1rk8mxcdnakywmspbxfd4";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lv2 pkgconfig python serd sord ];
|
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
|
|
|
installPhase = "python waf install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://drobilla.net/software/sratom;
|
|
|
|
description = "A library for serialising LV2 atoms to/from RDF";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2014-03-16 11:08:26 +00:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|