2016-11-07 13:06:35 +00:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2015-05-30 21:17:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "CompBus";
|
2016-11-07 13:06:35 +00:00
|
|
|
version = "1.1.1";
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "CompBus";
|
2016-11-07 13:06:35 +00:00
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "0yhj680zgk4dn4fi8j3apm72f3z2mjk12amf2a7p0lwn9iyh4a2z";
|
2015-05-30 21:17:03 +01:00
|
|
|
};
|
|
|
|
|
2016-11-07 13:06:35 +00:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
for f in *.dsp;
|
|
|
|
do
|
2016-11-07 13:06:35 +00:00
|
|
|
faust2jaqt -time -vec -double -t 99999 $f
|
|
|
|
done
|
|
|
|
|
|
|
|
for f in *.dsp;
|
|
|
|
do
|
|
|
|
faust2lv2 -time -vec -double -gui -t 99999 $f
|
2015-05-30 21:17:03 +01:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
mv *.lv2/ $out/lib/lv2
|
|
|
|
mkdir -p $out/bin
|
|
|
|
for f in $(find . -executable -type f);
|
|
|
|
do
|
|
|
|
cp $f $out/bin/
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/magnetophon/CompBus";
|
2015-05-30 21:17:03 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|