2014-07-31 10:47:17 +00:00
|
|
|
{ stdenv, fetchsvn, boost, ganv, glibmm, gtk, gtkmm, jack2, lilv
|
2014-12-07 14:37:51 +00:00
|
|
|
, lv2, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
|
|
|
|
, suil
|
2014-03-09 19:32:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ingen-svn-${rev}";
|
2014-12-07 14:37:51 +00:00
|
|
|
rev = "5490";
|
2014-03-09 19:32:06 +00:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://svn.drobilla.net/lad/trunk/ingen";
|
|
|
|
rev = rev;
|
2014-12-07 14:37:51 +00:00
|
|
|
sha256 = "09h2mrkzpwzhhyqy21xr7jhfbl82gmqfyj0lzhnjsrab8z56yzk6";
|
2014-03-09 19:32:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2014-12-07 14:37:51 +00:00
|
|
|
boost ganv glibmm gtk gtkmm jack2 lilv lv2 makeWrapper pkgconfig
|
|
|
|
python raul serd sord sratom suil
|
2014-03-09 19:32:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
2014-12-07 14:37:51 +00:00
|
|
|
propagatedBuildInputs = [ rdflib ];
|
|
|
|
|
2014-03-09 19:32:06 +00:00
|
|
|
buildPhase = "python waf";
|
|
|
|
|
2014-12-07 14:37:51 +00:00
|
|
|
installPhase = ''
|
|
|
|
python waf install
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|