Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 48 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 faust2jaqt, 6 faust2lv2, 7}: 8stdenv.mkDerivation { 9 pname = "mooSpace"; 10 version = "0-unstable-2020-06-10"; 11 12 src = fetchFromGitHub { 13 owner = "modularev"; 14 repo = "mooSpace"; 15 rev = "e5440407ea6ef9f7fcca838383b2b9a388c22874"; 16 sha256 = "10vsbddf6d7i06040850v8xkmqh3bqawczs29kfgakair809wqxl"; 17 }; 18 19 buildInputs = [ 20 faust2jaqt 21 faust2lv2 22 ]; 23 24 patchPhase = "mv mooSpace_faust.dsp mooSpace.dsp"; 25 26 dontWrapQtApps = true; 27 28 buildPhase = '' 29 faust2jaqt -time -vec -t 0 mooSpace.dsp 30 faust2lv2 -time -vec -t 0 -gui mooSpace.dsp 31 ''; 32 33 installPhase = '' 34 mkdir -p $out/bin 35 for f in $(find . -executable -type f); do 36 cp $f $out/bin/ 37 done 38 mkdir -p $out/lib/lv2 39 cp -r mooSpace.lv2 $out/lib/lv2 40 ''; 41 42 meta = { 43 description = "Variable reverb audio effect, jack and lv2"; 44 homepage = "https://github.com/modularev/mooSpace"; 45 license = lib.licenses.gpl3; 46 maintainers = [ lib.maintainers.magnetophon ]; 47 }; 48}