Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 39 lines 732 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, git 6, pytestCheckHook 7, setuptools 8}: 9 10buildPythonPackage rec { 11 pname = "pdm-pep517"; 12 version = "1.1.2"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-1PpzWmRffpWmvrNKK19+jgDZPdBDnXPzHMguQLW4/c4="; 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 git 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}