2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv
|
2021-01-19 06:50:56 +00:00
|
|
|
, lv2, makeWrapper, pkg-config, python, raul, rdflib, serd, sord, sratom
|
2018-11-11 21:20:41 +00:00
|
|
|
, wafHook
|
2014-12-07 14:37:51 +00:00
|
|
|
, suil
|
2014-03-09 19:32:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-01-20 10:14:03 +00:00
|
|
|
pname = "ingen";
|
|
|
|
version = "unstable-2019-12-09";
|
|
|
|
name = "${pname}-${version}";
|
2014-03-09 19:32:06 +00:00
|
|
|
|
2016-11-07 13:20:13 +00:00
|
|
|
src = fetchgit {
|
2020-01-20 10:14:03 +00:00
|
|
|
url = "https://gitlab.com/drobilla/ingen.git";
|
|
|
|
rev = "e32f32a360f2bf8f017ea347b6d1e568c0beaf68";
|
|
|
|
sha256 = "0wjn2i3j7jb0bmxymg079xpk4iplb91q0xqqnvnpvyldrr7gawlb";
|
2017-12-09 00:20:16 +00:00
|
|
|
deepClone = true;
|
2014-03-09 19:32:06 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wafHook ];
|
2014-03-09 19:32:06 +00:00
|
|
|
buildInputs = [
|
2020-01-20 10:14:03 +00:00
|
|
|
boost ganv glibmm gtkmm2 libjack2 lilv lv2 makeWrapper
|
2016-11-07 13:20:13 +00:00
|
|
|
python raul serd sord sratom suil
|
2014-03-09 19:32:06 +00:00
|
|
|
];
|
|
|
|
|
2018-11-11 21:20:41 +00:00
|
|
|
preConfigure = ''
|
2015-05-03 16:45:52 +01:00
|
|
|
sed -e "s@{PYTHONDIR}/'@out/'@" -i wscript
|
|
|
|
'';
|
2014-03-09 19:32:06 +00:00
|
|
|
|
2014-12-07 14:37:51 +00:00
|
|
|
propagatedBuildInputs = [ rdflib ];
|
|
|
|
|
2018-11-11 21:20:41 +00:00
|
|
|
postInstall = ''
|
2014-12-07 14:37:51 +00:00
|
|
|
for program in ingenams ingenish
|
|
|
|
do
|
|
|
|
wrapProgram $out/bin/$program \
|
2019-01-03 09:05:50 +00:00
|
|
|
--prefix PYTHONPATH : $out/${python.sitePackages}:$PYTHONPATH
|
2014-12-07 14:37:51 +00:00
|
|
|
done
|
|
|
|
'';
|
2014-03-09 19:32:06 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-03-09 19:32:06 +00:00
|
|
|
description = "A modular audio processing system using JACK and LV2 or LADSPA plugins";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://drobilla.net/software/ingen";
|
2020-01-20 10:14:03 +00:00
|
|
|
license = licenses.agpl3Plus;
|
2014-03-09 19:32:06 +00:00
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|