1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 gitMinimal,
6 pytestCheckHook,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "pdm-pep517";
12 version = "1.1.4";
13 format = "pyproject";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-f0kSHnC0Lcopb6yWIhDdLaB6OVdfxWcxN61mFjOyzz8=";
18 };
19
20 preCheck = ''
21 HOME=$TMPDIR
22
23 git config --global user.name nobody
24 git config --global user.email nobody@example.com
25 '';
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 gitMinimal
30 setuptools
31 ];
32
33 meta = with lib; {
34 homepage = "https://github.com/pdm-project/pdm-pep517";
35 description = "Yet another PEP 517 backend";
36 license = licenses.mit;
37 maintainers = with maintainers; [ cpcloud ];
38 };
39}