2012-07-05 22:29:45 +01:00
|
|
|
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lilv-${version}";
|
2018-08-22 11:22:06 +01:00
|
|
|
version = "0.24.4";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://download.drobilla.net/${name}.tar.bz2";
|
2018-08-22 11:22:06 +01:00
|
|
|
sha256 = "0f24cd7wkk5l969857g2ydz2kjjrkvvddg1g87xzzs78lsvq8fy3";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ lv2 python serd sord sratom ];
|
2012-07-05 22:29:45 +01:00
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
buildPhase = "${python.interpreter} waf";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
installPhase = "${python.interpreter} waf install";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
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 ];
|
2014-03-16 11:08:26 +00:00
|
|
|
platforms = platforms.linux;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|