From ccced078890b5c32a3dfe66e3a934893de2ac45d Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sat, 29 Nov 2025 01:51:41 +0100 Subject: [PATCH] python313Packages.pylit: drop This package has been broken since August 2025 [1] and its last release was in July 2022 [2]. [1] https://hydra.nixos.org/build/314261033 [2] https://codeberg.org/milde/pylit/tags --- .../python-modules/pylit/default.nix | 52 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 pkgs/development/python-modules/pylit/default.nix diff --git a/pkgs/development/python-modules/pylit/default.nix b/pkgs/development/python-modules/pylit/default.nix deleted file mode 100644 index 0e3a76b0d6c3..000000000000 --- a/pkgs/development/python-modules/pylit/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitea, - flit-core, - pytestCheckHook, -}: - -buildPythonPackage rec { - version = "0.8.0"; - pname = "pylit"; - pyproject = true; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "milde"; - repo = "pylit"; - tag = version; - hash = "sha256-wr2Gz5DCeCVULe9k/DHd+Jhbfc4q4wSoJrcWaJUvWWw="; - # fix hash mismatch on linux/darwin platforms - postFetch = '' - rm -f $out/doc/logo/py{L,l}it-bold-framed.svg - ''; - }; - - # replace legacy nose module with pytest - postPatch = '' - substituteInPlace test/{pylit,pylit_ui}_test.py \ - --replace-fail "import nose" "import pytest" \ - --replace-fail "nose.runmodule()" "pytest.main()" - ''; - - build-system = [ - flit-core - ]; - - pythonImportsCheck = [ "pylit" ]; - - nativeCheckInputs = [ - pytestCheckHook - ]; - - enabledTestPaths = [ "test" ]; - - meta = { - homepage = "https://codeberg.org/milde/pylit"; - description = "Bidirectional text/code converter"; - mainProgram = "pylit"; - license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ qbisi ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 6e3f5d95c030..4aaab8ea4c9b 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -335,6 +335,7 @@ mapAliases { PyICU = throw "'PyICU' has been renamed to/replaced by 'pyicu'"; # Converted to throw 2025-10-29 PyLD = throw "'PyLD' has been renamed to/replaced by 'pyld'"; # Converted to throw 2025-10-29 pyliblo = throw "pyliblo is unmaintained upstream and was removed from nixpkgs. Please use pyliblo3 instead"; # added 2025-06-23 + pylit = throw "'pylit' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-29 pymc3 = throw "'pymc3' has been renamed to/replaced by 'pymc'"; # Converted to throw 2025-10-29 pymelcloud = throw "'pymelcloud' has been renamed to/replaced by 'python-melcloud'"; # Converted to throw 2025-10-29 PyMVGLive = throw "'PyMVGLive' has been renamed to/replaced by 'pymvglive'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c83b9dde6d46..50994fb9362c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13654,8 +13654,6 @@ self: super: with self; { pylion = callPackage ../development/python-modules/pylion { }; - pylit = callPackage ../development/python-modules/pylit { }; - pylitejet = callPackage ../development/python-modules/pylitejet { }; pylitterbot = callPackage ../development/python-modules/pylitterbot { };