diff options
| author | Frederik Rietdijk <fridh@fridh.nl> | 2022-07-05 16:18:12 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-09-19 10:37:48 +0200 |
| commit | 941663db0bdca4bae25817812150063af8de4ee9 (patch) | |
| tree | c0017418585def8e26b9c74811591867c8ea4c75 /pkgs/development/python-modules | |
| parent | c2e54388d5be215169de0761fee7337aa96c15db (diff) | |
python3.pkgs.pyproject-metadata: init at 0.5.0
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/pyproject-metadata/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyproject-metadata/default.nix b/pkgs/development/python-modules/pyproject-metadata/default.nix new file mode 100644 index 000000000000..5cd5b92073bc --- /dev/null +++ b/pkgs/development/python-modules/pyproject-metadata/default.nix @@ -0,0 +1,44 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, wheel +, packaging +, pytestCheckHook +, tomli +}: + +buildPythonPackage rec { + pname = "pyproject-metadata"; + version = "0.5.0"; + format = "pyproject"; + + src = fetchPypi rec { + inherit pname version; + hash = "sha256-6YN9I3V8XJ//+19/N8+be8LZc30OlZt/XV8YmVFulww="; + }; + + nativeBuildInputs = [ + setuptools + wheel + ]; + + propagatedBuildInputs = [ + packaging + ]; + + checkInputs = [ + pytestCheckHook + tomli + ]; + + # Many broken tests, and missing test files + doCheck = false; + + meta = with lib; { + description = "PEP 621 metadata parsing"; + homepage = "https://github.com/FFY00/python-pyproject-metadata"; + license = licenses.mit; + maintainers = with maintainers; [ fridh ]; + }; +} |
