2012-07-05 23:29:45 +02:00
|
|
|
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sratom-${version}";
|
2013-02-24 02:29:09 +01:00
|
|
|
version = "0.4.2";
|
2012-07-05 23:29:45 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
2013-02-24 02:29:09 +01:00
|
|
|
sha256 = "16i5snknl9frz638mgr58lp11ap1xmkbrkb3l6f0ad8ddqpcjm3i";
|
2012-07-05 23:29:45 +02: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 ];
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|