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