83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
39 lines
732 B
Nix
39 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, git
|
|
, pytestCheckHook
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdm-pep517";
|
|
version = "1.1.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-1PpzWmRffpWmvrNKK19+jgDZPdBDnXPzHMguQLW4/c4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|