python3Packages.packaging: 26.1 -> 26.2
https://github.com/pypa/packaging/blob/26.2/CHANGELOG.rst
This commit is contained in:
@@ -7,56 +7,54 @@
|
||||
flit-core,
|
||||
|
||||
# tests
|
||||
packaging,
|
||||
pretend,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
let
|
||||
packaging = buildPythonPackage rec {
|
||||
pname = "packaging";
|
||||
version = "26.1";
|
||||
pyproject = true;
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "packaging";
|
||||
version = "26.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-8EIVK2gcS/rFyuJ0KlXhA9J6suwPPYgDcTa2v+fJxd4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pretend
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"packaging"
|
||||
"packaging.metadata"
|
||||
"packaging.requirements"
|
||||
"packaging.specifiers"
|
||||
"packaging.tags"
|
||||
"packaging.version"
|
||||
];
|
||||
|
||||
# Prevent circular dependency with pytest
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = packaging.overridePythonAttrs (_: {
|
||||
doCheck = true;
|
||||
});
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/pypa/packaging/blob/${version}/CHANGELOG.rst";
|
||||
description = "Core utilities for Python packages";
|
||||
downloadPage = "https://github.com/pypa/packaging";
|
||||
homepage = "https://packaging.pypa.io/";
|
||||
license = with lib.licenses; [
|
||||
bsd2
|
||||
asl20
|
||||
];
|
||||
maintainers = with lib.maintainers; [ bennofs ];
|
||||
teams = [ lib.teams.python ];
|
||||
};
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-/0Uv9aPoKM4RAZD+/xF4ux8uoigfogdarbmHwvsiFmE=";
|
||||
};
|
||||
in
|
||||
packaging
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pretend
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"packaging"
|
||||
"packaging.metadata"
|
||||
"packaging.requirements"
|
||||
"packaging.specifiers"
|
||||
"packaging.tags"
|
||||
"packaging.version"
|
||||
];
|
||||
|
||||
# Prevent circular dependency with pytest
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = packaging.overridePythonAttrs (_: {
|
||||
doCheck = true;
|
||||
});
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/pypa/packaging/blob/${finalAttrs.version}/CHANGELOG.rst";
|
||||
description = "Core utilities for Python packages";
|
||||
downloadPage = "https://github.com/pypa/packaging";
|
||||
homepage = "https://packaging.pypa.io/";
|
||||
license = with lib.licenses; [
|
||||
bsd2
|
||||
asl20
|
||||
];
|
||||
maintainers = with lib.maintainers; [ bennofs ];
|
||||
teams = [ lib.teams.python ];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user