Commit d2897cfd authored by Bart Brouns's avatar Bart Brouns
Browse files

faustStk: remove duplicate

parent bfded400
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, faust2jaqt, faust2lv2 }:

stdenv.mkDerivation rec {
  pname = "faustPhhysicalModeling";
  version = "2.20.2";

  src = fetchFromGitHub {
    owner = "grame-cncm";
    repo = "faust";
    rev = version;
    sha256 = "1mm93ba26b7q69hvabzalg30dh8pl858nj4m2bb57pznnp09lq9a";
  };

  buildInputs = [ faust2jaqt faust2lv2 ];

  buildPhase = ''
    cd examples/physicalModeling/faust-stk

    for f in *.dsp; do
      faust2jaqt -time -vec  -midi -nvoices 8 -t 99999 $f
      faust2lv2  -time -vec -double -gui -nvoices 32 -t 99999 $f
    done
  '';

  installPhase = ''
    mkdir -p $out/lib/lv2 $out/bin
    mv *.lv2/ $out/lib/lv2
    for f in $(find . -executable -type f); do
      cp $f $out/bin/
    done
  '';
  meta = with lib; {
    broken = (stdenv.isLinux && stdenv.isAarch64);
    description = "The physical modeling instruments included with faust, compiled as jack standalone and lv2 instruments";
    homepage = "https://ccrma.stanford.edu/~rmichon/faustSTK/";
    license = licenses.stk;
    platforms = platforms.linux;
    maintainers = with maintainers; [ magnetophon ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -446,6 +446,7 @@ mapAliases ({
  ### F ###

  facette = throw "facette has been removed"; # Added 2020-01-06
  faustStk = faustPhysicalModeling; # Added 2023-05-16
  fast-neural-doodle = throw "fast-neural-doodle has been removed, as the upstream project has been abandoned"; # Added 2020-03-28
  fastnlo = fastnlo_toolkit; # Added 2021-04-24
  fbreader = throw "fbreader has been removed, as the upstream project has been archived"; # Added 2022-05-26
+0 −2
Original line number Diff line number Diff line
@@ -37872,8 +37872,6 @@ with pkgs;
  faustPhysicalModeling = callPackage ../applications/audio/faustPhysicalModeling  { };
  faustStk = callPackage ../applications/audio/faustStk  { };
  flockit = callPackage ../tools/backup/flockit { };
  fahclient = callPackage ../applications/science/misc/foldingathome/client.nix {};