depot/third_party/nixpkgs/pkgs/development/python-modules/pdm-pep517/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

38 lines
733 B
Nix

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