diff --git a/pkgs/development/python-modules/tbm-utils/default.nix b/pkgs/development/python-modules/tbm-utils/default.nix index e1ce85737a0e..7f4963ca6dba 100644 --- a/pkgs/development/python-modules/tbm-utils/default.nix +++ b/pkgs/development/python-modules/tbm-utils/default.nix @@ -1,16 +1,17 @@ -{ lib -, stdenv -, attrs -, buildPythonPackage -, fetchFromGitHub -, fetchpatch -, pendulum -, poetry-core -, pprintpp -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, wrapt +{ + lib, + stdenv, + attrs, + buildPythonPackage, + fetchFromGitHub, + fetchpatch, + pendulum, + poetry-core, + pprintpp, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + wrapt, }: buildPythonPackage rec { @@ -47,17 +48,11 @@ buildPythonPackage rec { --replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api' ''; - pythonRelaxDeps = [ - "attrs" - ]; + pythonRelaxDeps = [ "attrs" ]; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; propagatedBuildInputs = [ attrs @@ -66,9 +61,7 @@ buildPythonPackage rec { wrapt ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = lib.optionals stdenv.isDarwin [ # Skip on macOS because /etc/localtime is accessed through the pendulum @@ -84,9 +77,7 @@ buildPythonPackage rec { "tests/test_misc.py" ]; - pythonImportsCheck = [ - "tbm_utils" - ]; + pythonImportsCheck = [ "tbm_utils" ]; meta = with lib; { description = "A commonly-used set of utilities";