python2Packages.packaging: drop
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user