faustCompressors: 1.1.1 -> 1.2

This commit is contained in:
Bart Brouns 2017-06-15 01:43:38 +02:00
parent 11b113541d
commit c002b886c0

View File

@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }: { stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "faustCompressors-v${version}"; name = "faustCompressors-v${version}";
version = "1.1.1"; version = "1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "magnetophon"; owner = "magnetophon";
repo = "faustCompressors"; repo = "faustCompressors";
rev = "v${version}"; rev = "v${version}";
sha256 = "0mkram2hm7i5za7pfn5crh2arbajk8praksxzgjx90rrxwl1y3d1"; sha256 = "144f6g17q4m50kxzdncsfzdyycdfprnpwdaxcwgxj4jky1xsha1d";
}; };
buildInputs = [ faust2jaqt faust2lv2 ]; buildInputs = [ faust2jaqt faust2lv2 ];
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
for f in *.dsp; for f in *.dsp;
do do
echo "compiling standalone from" $f
faust2jaqt -time -double -t 99999 $f faust2jaqt -time -double -t 99999 $f
done done
@ -22,6 +23,7 @@ stdenv.mkDerivation rec {
for f in *.dsp; for f in *.dsp;
do do
echo "compiling plugin from" $f
faust2lv2 -time -double -gui -t 99999 $f faust2lv2 -time -double -gui -t 99999 $f
done done
''; '';
@ -30,6 +32,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib/lv2 mkdir -p $out/lib/lv2
mv *.lv2/ $out/lib/lv2 mv *.lv2/ $out/lib/lv2
mkdir -p $out/bin mkdir -p $out/bin
rm newlib.sh
for f in $(find . -executable -type f); for f in $(find . -executable -type f);
do do
cp $f $out/bin/ cp $f $out/bin/