diff options
Diffstat (limited to 'pkgs/development/python-modules/pip-tools/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/pip-tools/default.nix | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/pkgs/development/python-modules/pip-tools/default.nix b/pkgs/development/python-modules/pip-tools/default.nix index ba8747cbe205..10f83a4203d8 100644 --- a/pkgs/development/python-modules/pip-tools/default.nix +++ b/pkgs/development/python-modules/pip-tools/default.nix @@ -1,19 +1,20 @@ -{ lib -, stdenv -, buildPythonPackage -, build -, click -, fetchPypi -, pep517 -, pip -, pytest-xdist -, pytestCheckHook -, pythonOlder -, setuptools -, setuptools-scm -, tomli -, tomli-w -, wheel +{ + lib, + stdenv, + buildPythonPackage, + build, + click, + fetchPypi, + pep517, + pip, + pytest-xdist, + pytestCheckHook, + pythonOlder, + setuptools, + setuptools-scm, + tomli, + tomli-w, + wheel, }: buildPythonPackage rec { @@ -30,9 +31,7 @@ buildPythonPackage rec { patches = [ ./fix-setup-py-bad-syntax-detection.patch ]; - nativeBuildInputs = [ - setuptools-scm - ]; + nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ build @@ -41,9 +40,7 @@ buildPythonPackage rec { pip setuptools wheel - ] ++ lib.optionals (pythonOlder "3.11") [ - tomli - ]; + ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; __darwinAllowLocalNetworking = true; @@ -73,9 +70,7 @@ buildPythonPackage rec { "test_error_in_pyproject_toml" ]; - pythonImportsCheck = [ - "piptools" - ]; + pythonImportsCheck = [ "piptools" ]; meta = with lib; { description = "Keeps your pinned dependencies fresh"; |
