2016-11-07 13:06:35 +00:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pluginUtils";
|
2016-11-07 13:06:35 +00:00
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "pluginUtils";
|
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "1hnr5sp7k6ypf4ks61lnyqx44dkv35yllf3a3xcbrw7yqzagwr1c";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
for f in *.dsp
|
|
|
|
do
|
|
|
|
echo "Building jack standalone for $f"
|
|
|
|
faust2jaqt -vec -time -t 99999 "$f"
|
|
|
|
echo "Building lv2 for $f"
|
|
|
|
faust2lv2 -vec -time -gui -t 99999 "$f"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
rm -f *.dsp
|
|
|
|
rm -f *.lib
|
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
mv *.lv2/ $out/lib/lv2
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp * $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Some simple utility lv2 plugins";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/magnetophon/pluginUtils";
|
2016-11-07 13:06:35 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|