depot/third_party/nixpkgs/pkgs/development/python-modules/pdm-pep517/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
741 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
git,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pdm-pep517";
version = "1.1.4";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-f0kSHnC0Lcopb6yWIhDdLaB6OVdfxWcxN61mFjOyzz8=";
};
preCheck = ''
HOME=$TMPDIR
git config --global user.name nobody
git config --global user.email nobody@example.com
'';
nativeCheckInputs = [
pytestCheckHook
git
setuptools
];
meta = with lib; {
homepage = "https://github.com/pdm-project/pdm-pep517";
description = "Yet another PEP 517 backend.";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
};
}