python3Packages.enum34: remove

This commit is contained in:
Benjamin Sparks 2025-03-06 12:55:36 +01:00
parent 0d3f8c8c0d
commit b91a772ab4
3 changed files with 1 additions and 30 deletions

View file

@ -1,28 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
unittestCheckHook,
}:
if pythonAtLeast "3.4" then
null
else
buildPythonPackage rec {
pname = "enum34";
version = "1.1.10";
src = fetchPypi {
inherit pname version;
sha256 = "cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248";
};
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
homepage = "https://pypi.python.org/pypi/enum34";
description = "Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4";
license = licenses.bsd0;
};
}

View file

@ -203,6 +203,7 @@ mapAliases ({
email_validator = email-validator; # added 2022-06-22
enhancements = throw "enhancements is unmaintained upstream and has therefore been removed"; # added 2023-10-27
enum-compat = throw "enum-compat is a virtual package providing enum34, which does not do anything since Python 3.4"; # added 2025-02-15
enum34 = throw "enum34 is no longer needed since Python 3.4"; # added 2025-03-06
et_xmlfile = et-xmlfile; # added 2023-10-16
etebase-server = throw "pkgs.python3.etebase-server has been removed, use pkgs.etebase-server"; # added 2024-07-16
ev3dev2 = python-ev3dev2; # added 2023-06-19

View file

@ -4273,8 +4273,6 @@ self: super: with self; {
enturclient = callPackage ../development/python-modules/enturclient { };
enum34 = callPackage ../development/python-modules/enum34 { };
env-canada = callPackage ../development/python-modules/env-canada { };
environmental-override = callPackage ../development/python-modules/environmental-override { };