81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
38 lines
746 B
Nix
38 lines
746 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, git
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdm-pep517";
|
|
version = "0.10.2";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "83bb71a7588df69ea0d77dc6524741c3a1af54ad5f421341428de648bfc03a29";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|