4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
38 lines
732 B
Nix
38 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, git
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdm-pep517";
|
|
version = "0.9.4";
|
|
format = "pyproject";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-2o2FuuvS5PW7uhxl3EGBP75CZ3dcyjPoug1k0irl51c=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|