summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyproject-hooks/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyproject-hooks/default.nix')
-rw-r--r--pkgs/development/python-modules/pyproject-hooks/default.nix33
1 files changed, 14 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/pyproject-hooks/default.nix b/pkgs/development/python-modules/pyproject-hooks/default.nix
index 3624b5f02edb..cc47f9d2a840 100644
--- a/pkgs/development/python-modules/pyproject-hooks/default.nix
+++ b/pkgs/development/python-modules/pyproject-hooks/default.nix
@@ -1,13 +1,14 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, flit-core
-, pyproject-hooks
-, pytestCheckHook
-, pythonOlder
-, setuptools
-, testpath
-, tomli
+{
+ lib,
+ buildPythonPackage,
+ fetchPypi,
+ flit-core,
+ pyproject-hooks,
+ pytestCheckHook,
+ pythonOlder,
+ setuptools,
+ testpath,
+ tomli,
}:
buildPythonPackage rec {
@@ -23,13 +24,9 @@ buildPythonPackage rec {
hash = "sha256-8nGymLl/WVXVP7ErcsH7GUjCLBprcLMVxUztrKAmTvU=";
};
- nativeBuildInputs = [
- flit-core
- ];
+ nativeBuildInputs = [ flit-core ];
- propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [
- tomli
- ];
+ propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ tomli ];
# We need to disable tests because this package is part of the bootstrap chain
# and its test dependencies cannot be built yet when this is being built.
@@ -59,9 +56,7 @@ buildPythonPackage rec {
};
};
- pythonImportsCheck = [
- "pyproject_hooks"
- ];
+ pythonImportsCheck = [ "pyproject_hooks" ];
meta = with lib; {
description = "Low-level library for calling build-backends in `pyproject.toml`-based project ";