2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python }:
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lv2-${version}";
|
2016-11-01 00:15:12 +00:00
|
|
|
version = "1.14.0";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://lv2plug.in/spec/${name}.tar.bz2";
|
2016-11-01 00:15:12 +00:00
|
|
|
sha256 = "0chxwys3vnn3nxc9x2vchm74s9sx0vfra6y893byy12ci61jc1dq";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 libsndfile python ];
|
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://lv2plug.in;
|
|
|
|
description = "A plugin standard for audio systems";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|