python2Packages.packaging: drop

This commit is contained in:
Sigmanificient
2026-01-15 01:41:06 +01:00
parent 4bf9018849
commit 4d84f591ce
2 changed files with 1 additions and 45 deletions
@@ -1,44 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
pyparsing,
six,
pretend,
}:
# We keep 20.4 because it uses setuptools instead of flit-core
# which requires Python 3 to build a universal wheel.
buildPythonPackage rec {
pname = "packaging";
version = "20.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8";
};
propagatedBuildInputs = [
pyparsing
six
];
nativeCheckInputs = [
pretend
];
# Prevent circular dependency
doCheck = false;
meta = {
description = "Core utilities for Python packages";
homepage = "https://github.com/pypa/packaging";
license = [
lib.licenses.bsd2
lib.licenses.asl20
];
maintainers = with lib.maintainers; [ bennofs ];
};
}
+1 -1
View File
@@ -37,7 +37,7 @@ with super;
# build tool in Python 3, but it does not yet support Python 2
ninja = pkgs.buildPackages.ninja;
packaging = callPackage ../development/python2-modules/packaging { };
packaging = disabled super.packaging;
pip = callPackage ../development/python2-modules/pip { };