2017-01-11 08:17:55 +00:00
|
|
|
{ stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv
|
2016-11-01 01:00:07 +00:00
|
|
|
, lv2, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
|
2014-12-07 14:37:51 +00:00
|
|
|
, suil
|
2014-03-09 19:32:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-07 13:20:13 +00:00
|
|
|
name = "ingen-unstable-${rev}";
|
2017-02-05 04:48:24 +00:00
|
|
|
rev = "2017-01-18";
|
2014-03-09 19:32:06 +00:00
|
|
|
|
2016-11-07 13:20:13 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "http://git.drobilla.net/cgit.cgi/ingen.git";
|
2017-02-05 04:48:24 +00:00
|
|
|
rev = "02ae3e9d8bf3f6a5e844706721aad8c0ac9f4340";
|
|
|
|
sha256 = "15s8nrzn68hc2s6iw0zshbz3lfnsq0mr6gflq05xm911b7xbp74k";
|
2014-03-09 19:32:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2016-11-01 01:00:07 +00:00
|
|
|
boost ganv glibmm gtkmm2 libjack2 lilv lv2 makeWrapper pkgconfig
|
2016-11-07 13:20:13 +00:00
|
|
|
python raul serd sord sratom suil
|
2014-03-09 19:32:06 +00:00
|
|
|
];
|
|
|
|
|
2015-05-03 15:45:52 +00:00
|
|
|
configurePhase = ''
|
|
|
|
sed -e "s@{PYTHONDIR}/'@out/'@" -i wscript
|
2016-11-01 01:00:07 +00:00
|
|
|
${python.interpreter} waf configure --prefix=$out
|
2015-05-03 15:45:52 +00:00
|
|
|
'';
|
2014-03-09 19:32:06 +00:00
|
|
|
|
2014-12-07 14:37:51 +00:00
|
|
|
propagatedBuildInputs = [ rdflib ];
|
|
|
|
|
2016-11-01 01:00:07 +00:00
|
|
|
buildPhase = "${python.interpreter} waf";
|
2014-03-09 19:32:06 +00:00
|
|
|
|
2014-12-07 14:37:51 +00:00
|
|
|
installPhase = ''
|
2016-11-01 01:00:07 +00:00
|
|
|
${python.interpreter} waf install
|
2014-12-07 14:37:51 +00:00
|
|
|
for program in ingenams ingenish
|
|
|
|
do
|
|
|
|
wrapProgram $out/bin/$program \
|
|
|
|
--prefix PYTHONPATH : $out/lib/python${python.majorVersion}/site-packages:$PYTHONPATH
|
|
|
|
done
|
|
|
|
'';
|
2014-03-09 19:32:06 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A modular audio processing system using JACK and LV2 or LADSPA plugins";
|
|
|
|
homepage = http://drobilla.net/software/ingen;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|