mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #205470 from fabaff/pyproject-metadata-bump
python310Packages.pyproject-metadata: 0.5.0 -> 0.6.1
This commit is contained in:
commit
926ca93214
1 changed files with 13 additions and 4 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue