27 lines
783 B
Nix
27 lines
783 B
Nix
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lilv-${version}";
|
|
version = "0.24.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
|
sha256 = "17pv4wdaj7m5ghpfs7h7d8jd105xfzyn2lj438xslj1ndm9xwq7s";
|
|
};
|
|
|
|
buildInputs = [ lv2 pkgconfig python serd sord sratom ];
|
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
|
|
|
buildPhase = "${python.interpreter} waf";
|
|
|
|
installPhase = "${python.interpreter} 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;
|
|
};
|
|
}
|