13 buildPythonPackage rec {
14 pname = "pyproject-hooks";
18 disabled = pythonOlder "3.7";
21 pname = "pyproject_hooks";
23 hash = "sha256-8nGymLl/WVXVP7ErcsH7GUjCLBprcLMVxUztrKAmTvU=";
30 propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [
34 # We need to disable tests because this package is part of the bootstrap chain
35 # and its test dependencies cannot be built yet when this is being built.
39 pytest = buildPythonPackage {
40 pname = "${pname}-pytest";
55 # fail to import setuptools
62 pythonImportsCheck = [
67 description = "Low-level library for calling build-backends in `pyproject.toml`-based project ";
68 homepage = "https://github.com/pypa/pyproject-hooks";
69 changelog = "https://github.com/pypa/pyproject-hooks/blob/v${version}/docs/changelog.rst";
70 license = licenses.mit;
71 maintainers = teams.python.members;