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:
parent
ff94ec1043
commit
68d7778e92
38
pkgs/development/python-modules/pdm-pep517/default.nix
Normal file
38
pkgs/development/python-modules/pdm-pep517/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue