2017-01-11 09:17:55 +01:00
|
|
|
{ stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv
|
2017-12-09 01:20:16 +01:00
|
|
|
, lv2Unstable, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
|
2018-11-11 22:20:41 +01:00
|
|
|
, wafHook
|
2014-12-07 15:37:51 +01:00
|
|
|
, suil
|
2014-03-09 20:32:06 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-07 14:20:13 +01:00
|
|
|
name = "ingen-unstable-${rev}";
|
2017-12-09 01:20:16 +01:00
|
|
|
rev = "2017-07-22";
|
2014-03-09 20:32:06 +01:00
|
|
|
|
2016-11-07 14:20:13 +01:00
|
|
|
src = fetchgit {
|
2017-12-09 01:20:16 +01:00
|
|
|
url = "https://git.drobilla.net/cgit.cgi/ingen.git";
|
|
|
|
rev = "cc4a4db33f4d126a07a4a498e053c5fb9a883be3";
|
|
|
|
sha256 = "1gmwmml486r9zq4w65v91mfaz36af9zzyjkmi74m8qmh67ffqn3w";
|
|
|
|
deepClone = true;
|
2014-03-09 20:32:06 +01:00
|
|
|
};
|
|
|
|
|
2018-11-11 22:20:41 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig wafHook ];
|
2014-03-09 20:32:06 +01:00
|
|
|
buildInputs = [
|
2017-12-09 01:20:16 +01:00
|
|
|
boost ganv glibmm gtkmm2 libjack2 lilv lv2Unstable makeWrapper
|
2016-11-07 14:20:13 +01:00
|
|
|
python raul serd sord sratom suil
|
2014-03-09 20:32:06 +01:00
|
|
|
];
|
|
|
|
|
2018-11-11 22:20:41 +01:00
|
|
|
preConfigure = ''
|
2015-05-03 17:45:52 +02:00
|
|
|
sed -e "s@{PYTHONDIR}/'@out/'@" -i wscript
|
|
|
|
'';
|
2014-03-09 20:32:06 +01:00
|
|
|
|
2014-12-07 15:37:51 +01:00
|
|
|
propagatedBuildInputs = [ rdflib ];
|
|
|
|
|
2018-11-11 22:20:41 +01:00
|
|
|
postInstall = ''
|
2014-12-07 15:37:51 +01:00
|
|
|
for program in ingenams ingenish
|
|
|
|
do
|
|
|
|
wrapProgram $out/bin/$program \
|
2019-01-03 10:05:50 +01:00
|
|
|
--prefix PYTHONPATH : $out/${python.sitePackages}:$PYTHONPATH
|
2014-12-07 15:37:51 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|