mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python310Packages.pyproject-metadata: 0.5.0 -> 0.6.1
Changelog: https://github.com/FFY00/python-pyproject-metadata/blob/0.6.1/CHANGELOG.rst
This commit is contained in:
@@ -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,12 +32,17 @@ 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";
|
||||
|
||||
Reference in New Issue
Block a user