2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchsvn, boost, ganv, glibmm, gtkmm2, libjack2, lilv-svn
|
2015-05-04 11:58:12 +02:00
|
|
|
, lv2, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord-svn, sratom
|
2014-12-07 15:37:51 +01:00
|
|
|
, suil
|
2014-03-09 20:32:06 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ingen-svn-${rev}";
|
2015-05-03 17:45:52 +02:00
|
|
|
rev = "5675";
|
2014-03-09 20:32:06 +01:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://svn.drobilla.net/lad/trunk/ingen";
|
|
|
|
rev = rev;
|
2015-05-03 17:45:52 +02:00
|
|
|
sha256 = "1dk56rzbc0rwlbzr90rv8bh5163xwld32nmkvcz7ajfchi4fnv86";
|
2014-03-09 20:32:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2016-09-11 23:24:51 +02:00
|
|
|
boost ganv glibmm gtkmm2 libjack2 lilv-svn lv2 makeWrapper pkgconfig
|
2015-05-04 11:58:12 +02:00
|
|
|
python raul serd sord-svn sratom suil
|
2014-03-09 20:32:06 +01:00
|
|
|
];
|
|
|
|
|
2015-05-03 17:45:52 +02:00
|
|
|
configurePhase = ''
|
|
|
|
sed -e "s@{PYTHONDIR}/'@out/'@" -i wscript
|
|
|
|
python waf configure --prefix=$out
|
|
|
|
'';
|
2014-03-09 20:32:06 +01:00
|
|
|
|
2014-12-07 15:37:51 +01:00
|
|
|
propagatedBuildInputs = [ rdflib ];
|
|
|
|
|
2014-03-09 20:32:06 +01:00
|
|
|
buildPhase = "python waf";
|
|
|
|
|
2014-12-07 15:37:51 +01: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 20:32:06 +01: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;
|
|
|
|
};
|
|
|
|
}
|