python3Packages.pycategories: drop
Broken unmaintained leaf package.
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user