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