Merge pull request #82642 from magnetophon/faustPhysicalModeling

authored by Sandro and committed by GitHub 870dce75 0fa2a1e1

+88
+6
lib/licenses.nix
··· 734 734 free = false; 735 735 }; 736 736 737 + stk = { 738 + shortName = "stk"; 739 + fullName = "Synthesis Tool Kit 4.3"; 740 + url = https://github.com/thestk/stk/blob/master/LICENSE; 741 + }; 742 + 737 743 tcltk = spdx { 738 744 spdxId = "TCL"; 739 745 fullName = "TCL/TK License";
+39
pkgs/applications/audio/faustPhysicalModeling/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, faust2jaqt, faust2lv2 }: 2 + stdenv.mkDerivation rec { 3 + pname = "faustPhysicalModeling"; 4 + version = "2.20.2"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "grame-cncm"; 8 + repo = "faust"; 9 + rev = version; 10 + sha256 = "1mm93ba26b7q69hvabzalg30dh8pl858nj4m2bb57pznnp09lq9a"; 11 + }; 12 + 13 + buildInputs = [ faust2jaqt faust2lv2 ]; 14 + 15 + buildPhase = '' 16 + cd examples/physicalModeling 17 + 18 + for f in *MIDI.dsp; do 19 + faust2jaqt -time -vec -double -midi -nvoices 16 -t 99999 $f 20 + faust2lv2 -time -vec -double -gui -nvoices 16 -t 99999 $f 21 + done 22 + ''; 23 + 24 + installPhase = '' 25 + mkdir -p $out/lib/lv2 $out/bin 26 + mv *.lv2/ $out/lib/lv2 27 + for f in $(find . -executable -type f); do 28 + cp $f $out/bin/ 29 + done 30 + ''; 31 + 32 + meta = with lib; { 33 + description = "The physical models included with faust compiled as jack standalone and lv2 instruments"; 34 + homepage = "https://github.com/grame-cncm/faust/tree/master-dev/examples/physicalModeling"; 35 + license = licenses.mit; 36 + platforms = platforms.linux; 37 + maintainers = with maintainers; [ magnetophon ]; 38 + }; 39 + }
+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 + }
+4
pkgs/top-level/all-packages.nix
··· 30410 30410 30411 30411 faustlive = callPackage ../applications/audio/faust/faustlive.nix { }; 30412 30412 30413 + faustPhysicalModeling = callPackage ../applications/audio/faustPhysicalModeling { }; 30414 + 30415 + faustStk = callPackage ../applications/audio/faustStk { }; 30416 + 30413 30417 fceux = callPackage ../misc/emulators/fceux { }; 30414 30418 30415 30419 flockit = callPackage ../tools/backup/flockit { };