Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.2 KiB
Nix
59 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
faust2jaqt,
|
|
faust2lv2,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "faustCompressors";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "magnetophon";
|
|
repo = "faustCompressors";
|
|
rev = "v${version}";
|
|
sha256 = "144f6g17q4m50kxzdncsfzdyycdfprnpwdaxcwgxj4jky1xsha1d";
|
|
};
|
|
|
|
buildInputs = [
|
|
faust2jaqt
|
|
faust2lv2
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
buildPhase = ''
|
|
echo "hack out autoComp.dsp due to https://github.com/grame-cncm/faust/407/issues "
|
|
rm autoComp.dsp
|
|
for f in *.dsp;
|
|
do
|
|
echo "compiling standalone from" $f
|
|
faust2jaqt -time -double -t 99999 $f
|
|
done
|
|
|
|
for f in *.dsp;
|
|
do
|
|
echo "Compiling plugin from" $f
|
|
faust2lv2 -time -double -gui -t 99999 $f
|
|
done
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/lv2
|
|
mv *.lv2/ $out/lib/lv2
|
|
mkdir -p $out/bin
|
|
rm newlib.sh
|
|
for f in $(find . -executable -type f); do
|
|
cp $f $out/bin/
|
|
done
|
|
'';
|
|
|
|
meta = {
|
|
description = "Collection of bread and butter compressors";
|
|
homepage = "https://github.com/magnetophon/faustCompressors";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
};
|
|
}
|