Unverified Commit 22bd65d9 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

{av-98,python3Packages.ansiwrap}: drop (#448228)

parents b234919e f5eea94d
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchgit,
}:
python3Packages.buildPythonApplication {
  pname = "av-98";
  version = "1.0.2dev";
  format = "setuptools";

  src = fetchgit {
    url = "https://tildegit.org/solderpunk/AV-98.git";
    rev = "96cf8e13fe5714c8cdc754f51eef9f0293b8ca1f";
    sha256 = "09iskh33hl5aaif763j1fmbz7yvf0yqsxycfd41scj7vbwdsbxl0";
  };

  propagatedBuildInputs = with python3Packages; [
    ansiwrap
    cryptography
  ];

  # No tests are available
  doCheck = false;
  pythonImportsCheck = [ "av98" ];

  meta = with lib; {
    homepage = "https://tildegit.org/solderpunk/AV-98";
    description = "Experimental console client for the Gemini protocol";
    mainProgram = "av98";
    license = licenses.bsd2;

    broken = true;
  };
}
+0 −52
Original line number Diff line number Diff line
{
  lib,
  ansicolors,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  setuptools,
  textwrap3,
}:
buildPythonPackage rec {
  pname = "ansiwrap";
  version = "0.8.4";
  pyproject = true;

  disabled = pythonOlder "3.7" || pythonAtLeast "3.12";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    hash = "sha256-ygx0BzTN5Zv5Gfj/LDhvdPmjaYGM3GDv6UiT0B6o2bc=";
  };

  postPatch = ''
    # https://github.com/jonathaneunice/ansiwrap/issues/18
    substituteInPlace test/test_ansiwrap.py \
      --replace-fail "set(range(20, 120)).difference(LINE_LENGTHS)" "sorted(set(range(20, 120)).difference(LINE_LENGTHS))" \
      --replace-fail "set(range(120, 400)).difference(LINE_LENGTHS)" "sorted(set(range(120, 400)).difference(LINE_LENGTHS))"
  '';

  build-system = [ setuptools ];

  dependencies = [ textwrap3 ];

  nativeCheckInputs = [
    ansicolors
    pytestCheckHook
  ];

  pythonImportsCheck = [ "ansiwrap" ];

  meta = with lib; {
    description = "Textwrap, but savvy to ANSI colors and styles";
    homepage = "https://github.com/jonathaneunice/ansiwrap";
    changelog = "https://github.com/jonathaneunice/ansiwrap/blob/master/CHANGES.yml";
    license = licenses.asl20;
    maintainers = [ ];

    broken = true;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -495,6 +495,7 @@ mapAliases {
  aumix = throw "'aumix' has been removed due to lack of maintenance upstream. Consider using 'pamixer' for CLI or 'pavucontrol' for GUI"; # Added 2024-09-14
  authy = throw "'authy' has been removed since it reached end of life"; # Added 2024-04-19
  autoadb = throw "'autoadb' has been removed due to lack of maintenance upstream"; # Added 2025-01-25
  av-98 = throw "'av-98' has been removed because it has been broken since at least November 2024."; # Added 2025-10-03
  avldrums-lv2 = throw "'avldrums-lv2' has been renamed to/replaced by 'x42-avldrums'"; # Converted to throw 2024-10-17
  avr-sim = throw "'avr-sim' has been removed as it was broken and unmaintained. Possible alternatives are 'simavr', SimulAVR and AVRStudio."; # Added 2025-05-31
  axmldec = throw "'axmldec' has been removed as it was broken and unmaintained for 8 years"; # Added 2025-05-17
+0 −2
Original line number Diff line number Diff line
@@ -10799,8 +10799,6 @@ with pkgs;

  audacious = audacious-bare.override { withPlugins = true; };

  av-98 = callPackage ../applications/networking/browsers/av-98 { };

  bambootracker-qt6 = bambootracker.override { withQt6 = true; };

  ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { };
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ mapAliases {
  aionotify = throw "aionotify has been removed because is unmaintained and incompatible with python3.11."; # Added 2023-10-27
  aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05
  aioquic-mitmproxy = throw "aioquic-mitmproxy has been removed because mitmproxy no longer uses it"; # Added 2024-01-16
  ansiwrap = throw "ansiwrap has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
  amazon_kclpy = amazon-kclpy; # added 2023-08-08
  ambiclimate = throw "ambiclimate has been removed, because the service has been terminated after 2024-03-31."; # Added 2024-06-07
  ambee = throw "ambee has been removed because the upstream repository was archived in 2022"; # Added 2024-10-04
Loading