diff options
author | Phillip Cloud <417981+cpcloud@users.noreply.github.com> | 2022-01-17 14:11:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 20:11:13 +0100 |
commit | 68d7778e92165b0ce6025b0b63169bd634313bc3 (patch) | |
tree | 209383418d5a0c550b61c55fdfa95b6eac296e57 /pkgs/development/python-modules/pdm-pep517 | |
parent | ff94ec104348c64f491a2bde9fe84ceecc42695e (diff) |
python3Packages.pdm-pep517: init at 0.9.4 (#155385)
* python3Packages.pdm-pep517: init at 0.9.4 * chore: get git tests to work * chore: coverage isn't run during tests so it doesn't need to be in the closure
Diffstat (limited to 'pkgs/development/python-modules/pdm-pep517')
-rw-r--r-- | pkgs/development/python-modules/pdm-pep517/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pdm-pep517/default.nix b/pkgs/development/python-modules/pdm-pep517/default.nix new file mode 100644 index 0000000000000..11d677e110041 --- /dev/null +++ b/pkgs/development/python-modules/pdm-pep517/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, git +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pdm-pep517"; + version = "0.9.4"; + format = "pyproject"; + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-2o2FuuvS5PW7uhxl3EGBP75CZ3dcyjPoug1k0irl51c="; + }; + + preCheck = '' + HOME=$TMPDIR + + git config --global user.name nobody + git config --global user.email nobody@example.com + ''; + + checkInputs = [ + pytestCheckHook + git + ]; + + meta = with lib; { + homepage = "https://github.com/pdm-project/pdm-pep517"; + description = "Yet another PEP 517 backend."; + license = licenses.mit; + maintainers = with maintainers; [ cpcloud ]; + }; +} |