1 { stdenv, lib, fetchFromGitHub, faust2jaqt, faust2lv2 }:
2 stdenv.mkDerivation rec {
3 pname = "faustPhysicalModeling";
6 src = fetchFromGitHub {
10 sha256 = "sha256-j5Qg/H7aMBZ6A8gh6v6+ICxmCZ7ya2tVF2FjueVtvHo=";
13 buildInputs = [ faust2jaqt faust2lv2 ];
15 dontWrapQtApps = true;
18 cd examples/physicalModeling
20 for f in *MIDI.dsp; do
21 faust2jaqt -time -vec -double -midi -nvoices 16 -t 99999 $f
22 faust2lv2 -time -vec -double -gui -nvoices 16 -t 99999 $f
27 mkdir -p $out/lib/lv2 $out/bin
28 mv *.lv2/ $out/lib/lv2
29 for f in $(find . -executable -type f); do
35 description = "Physical models included with faust compiled as jack standalone and lv2 instruments";
36 homepage = "https://github.com/grame-cncm/faust/tree/master-dev/examples/physicalModeling";
37 license = licenses.mit;
38 platforms = platforms.linux;
39 maintainers = with maintainers; [ magnetophon ];