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
This commit is contained in:
Phillip Cloud 2022-01-17 14:11:13 -05:00 committed by GitHub
parent ff94ec1043
commit 68d7778e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -5843,6 +5843,8 @@ in {
pdfx = callPackage ../development/python-modules/pdfx { };
pdm-pep517 = callPackage ../development/python-modules/pdm-pep517 { };
pdoc3 = callPackage ../development/python-modules/pdoc3 { };
pebble = callPackage ../development/python-modules/pebble { };