diff --git a/pkgs/development/python-modules/pycategories/default.nix b/pkgs/development/python-modules/pycategories/default.nix deleted file mode 100644 index 98a8e360d157..000000000000 --- a/pkgs/development/python-modules/pycategories/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - buildPythonPackage, - callPackage, - fetchPypi, - pytestCheckHook, - pythonOlder, -}: - -buildPythonPackage rec { - pname = "pycategories"; - version = "1.2.0"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-vXDstelOdlnlZOoVPwx2cykdw3xSbCRoAPwI1sU3gJk="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace "'pytest-runner'," "" - substituteInPlace setup.cfg \ - --replace "--cov-report term --cov=categories" "" - ''; - - # Is private because the author states it's unmaintained - # and shouldn't be used in production code - propagatedBuildInputs = [ (callPackage ./infix.nix { }) ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - meta = with lib; { - description = "Implementation of some concepts from category theory"; - homepage = "https://gitlab.com/danielhones/pycategories"; - changelog = "https://gitlab.com/danielhones/pycategories/-/blob/v${version}/CHANGELOG.rst"; - license = licenses.mit; - maintainers = with maintainers; [ dmvianna ]; - }; -} diff --git a/pkgs/development/python-modules/pycategories/infix.nix b/pkgs/development/python-modules/pycategories/infix.nix deleted file mode 100644 index d5959c1a0ec1..000000000000 --- a/pkgs/development/python-modules/pycategories/infix.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - buildPythonPackage, - lib, - fetchPypi, -}: - -buildPythonPackage rec { - pname = "infix"; - version = "1.2"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - sha256 = "a1bfdcf875bc072f41e426d0673f2e3017750743bb90cc725fffb292eb09648c"; - }; - - # No tests - doCheck = false; - - meta = { - homepage = "https://github.com/borntyping/python-infix"; - description = "Decorator that allows functions to be used as infix functions"; - license = lib.licenses.mit; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 6a5f33f02284..6cecf4d22c75 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -309,6 +309,7 @@ mapAliases { py-eth-sig-utils = throw "py-eth-sig-utils has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04 py-scrypt = scrypt; # added 2025-08-07 py_stringmatching = throw "'py_stringmatching' has been renamed to/replaced by 'py-stringmatching'"; # Converted to throw 2025-10-29 + pycategories = throw "'pycategories' has been removed as it was broken and unmaintained"; # added 2025-11-08 PyChromecast = throw "'PyChromecast' has been renamed to/replaced by 'pychromecast'"; # Converted to throw 2025-10-29 pydns = throw "'pydns' has been renamed to/replaced by 'py3dns'"; # Converted to throw 2025-10-29 pyechonest = throw "pyechonest was removed because it was broken and unmaintained"; # added 2025-08-26 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7445001618c7..d01e393f4e97 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12818,8 +12818,6 @@ self: super: with self; { pycatch22 = callPackage ../development/python-modules/pycatch22 { }; - pycategories = callPackage ../development/python-modules/pycategories { }; - pycayennelpp = callPackage ../development/python-modules/pycayennelpp { }; pycddl = callPackage ../development/python-modules/pycddl { };