depot/third_party/nixpkgs/pkgs/development/python-modules/pdm-pep517/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

39 lines
725 B
Nix

{
lib,
buildPythonPackage,
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 ];
};
}