faust-stk: init at 2.20.2

+41
+39
pkgs/applications/audio/faustStk/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, faust2jaqt, faust2lv2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "faustPhhysicalModeling"; 5 + version = "2.20.2"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "grame-cncm"; 9 + repo = "faust"; 10 + rev = version; 11 + sha256 = "1mm93ba26b7q69hvabzalg30dh8pl858nj4m2bb57pznnp09lq9a"; 12 + }; 13 + 14 + buildInputs = [ faust2jaqt faust2lv2 ]; 15 + 16 + buildPhase = '' 17 + cd examples/physicalModeling/faust-stk 18 + 19 + for f in *.dsp; do 20 + faust2jaqt -time -vec -midi -nvoices 8 -t 99999 $f 21 + faust2lv2 -time -vec -double -gui -nvoices 32 -t 99999 $f 22 + done 23 + ''; 24 + 25 + installPhase = '' 26 + mkdir -p $out/lib/lv2 $out/bin 27 + mv *.lv2/ $out/lib/lv2 28 + for f in $(find . -executable -type f); do 29 + cp $f $out/bin/ 30 + done 31 + ''; 32 + meta = with lib; { 33 + description = "The physical modeling instruments included with faust, compiled as jack standalone and lv2 instruments"; 34 + homepage = "https://ccrma.stanford.edu/~rmichon/faustSTK/"; 35 + license = licenses.stk; 36 + platforms = platforms.linux; 37 + maintainers = with maintainers; [ magnetophon ]; 38 + }; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 27449 27449 27450 27450 faustlive = callPackage ../applications/audio/faust/faustlive.nix { }; 27451 27451 27452 + faustStk = callPackage ../applications/audio/faustStk { }; 27453 + 27452 27454 fceux = callPackage ../misc/emulators/fceux { }; 27453 27455 27454 27456 flockit = callPackage ../tools/backup/flockit { };