Merge pull request #205470 from fabaff/pyproject-metadata-bump

python310Packages.pyproject-metadata: 0.5.0 -> 0.6.1
This commit is contained in:
Fabian Affolter 2022-12-14 17:36:32 +01:00 committed by GitHub
commit 926ca93214
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, packaging
, pytestCheckHook
, pythonOlder
, setuptools
, tomli
, wheel
}:
buildPythonPackage rec {
pname = "pyproject-metadata";
version = "0.5.0";
version = "0.6.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi rec {
inherit pname version;
hash = "sha256-6YN9I3V8XJ//+19/N8+be8LZc30OlZt/XV8YmVFulww=";
hash = "sha256-tfsJVDpkqRFl3+hXlnWfnkFe3Clr602zPR7PeGaoYr0=";
};
nativeBuildInputs = [
@ -29,15 +32,21 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
] ++ lib.optionals (pythonOlder "3.11") [
tomli
];
# Many broken tests, and missing test files
doCheck = false;
pythonImportsCheck = [
"pyproject_metadata"
];
meta = with lib; {
description = "PEP 621 metadata parsing";
homepage = "https://github.com/FFY00/python-pyproject-metadata";
changelog = "https://github.com/FFY00/python-pyproject-metadata/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ fridh ];
};