Commit 72a5f80e authored by Bart Brouns's avatar Bart Brouns
Browse files

ams-lv2: drop

It's been archived upstream and has been marked broken for a while.
I was unable to fix the build.
parent 1aa72502
Loading
Loading
Loading
Loading
+0 −56
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  cairo,
  fftw,
  gtkmm2,
  lv2,
  lvtk,
  pkg-config,
  wafHook,
  python3,
}:

stdenv.mkDerivation rec {
  pname = "ams-lv2";
  version = "1.2.2";

  src = fetchFromGitHub {
    owner = "blablack";
    repo = "ams-lv2";
    rev = version;
    sha256 = "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk";
  };

  nativeBuildInputs = [
    pkg-config
    wafHook
    python3
  ];
  buildInputs = [
    cairo
    fftw
    gtkmm2
    lv2
    lvtk
  ];

  postPatch = ''
    # U was removed in python 3.11 because it had no effect
    substituteInPlace waflib/*.py \
      --replace "m='rU" "m='r"
  '';

  meta = with lib; {
    description = "LV2 port of the internal modules found in Alsa Modular Synth";
    homepage = "https://github.com/blablack/ams-lv2";
    license = licenses.gpl3;
    maintainers = [ ];
    platforms = platforms.linux;
    # Build uses `-msse` and `-mfpmath=sse`
    badPlatforms = [ "aarch64-linux" ];
    # `ModuleNotFoundError: No module named 'imp'`
    broken = true;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -278,6 +278,7 @@ mapAliases {
  akkoma-frontends.akkoma-fe = throw "'akkoma-frontends.akkoma-fe' has been renamed to/replaced by 'akkoma-fe'"; # Converted to throw 2025-10-27
  amazon-qldb-shell = throw "'amazon-qldb-shell' has been removed due to being unmaintained upstream"; # Added 2025-07-30
  amdvlk = throw "'amdvlk' has been removed since it was deprecated by AMD. Its replacement, RADV, is enabled by default."; # Added 2025-09-20
  ams-lv2 = throw "'ams-lv2' has been removed due to being archived upstream."; # Added 2025-10-26
  android-udev-rules = throw "'android-udev-rules' has been removed due to being superseded by built-in systemd uaccess rules."; # Added 2025-10-21
  androidndkPkgs_21 = throw "androidndkPkgs_21 has been removed, as it is EOL"; # Added 2025-08-09
  androidndkPkgs_23 = throw "androidndkPkgs_23 has been removed, as it is EOL"; # Added 2025-08-09