summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-utils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-utils/default.nix')
-rw-r--r--pkgs/development/python-modules/python-utils/default.nix35
1 files changed, 14 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/python-utils/default.nix b/pkgs/development/python-modules/python-utils/default.nix
index 6e2e3fe79510..a5b5537868c7 100644
--- a/pkgs/development/python-modules/python-utils/default.nix
+++ b/pkgs/development/python-modules/python-utils/default.nix
@@ -1,12 +1,13 @@
-{ lib
-, stdenv
-, buildPythonPackage
-, fetchFromGitHub
-, loguru
-, pytest-asyncio
-, pytestCheckHook
-, pythonOlder
-, typing-extensions
+{
+ lib,
+ stdenv,
+ buildPythonPackage,
+ fetchFromGitHub,
+ loguru,
+ pytest-asyncio,
+ pytestCheckHook,
+ pythonOlder,
+ typing-extensions,
}:
buildPythonPackage rec {
@@ -29,14 +30,10 @@ buildPythonPackage rec {
-e '/--mypy/d'
'';
- propagatedBuildInputs = [
- typing-extensions
- ];
+ propagatedBuildInputs = [ typing-extensions ];
passthru.optional-dependencies = {
- loguru = [
- loguru
- ];
+ loguru = [ loguru ];
};
nativeCheckInputs = [
@@ -44,13 +41,9 @@ buildPythonPackage rec {
pytestCheckHook
] ++ passthru.optional-dependencies.loguru;
- pythonImportsCheck = [
- "python_utils"
- ];
+ pythonImportsCheck = [ "python_utils" ];
- pytestFlagsArray = [
- "_python_utils_tests"
- ];
+ pytestFlagsArray = [ "_python_utils_tests" ];
disabledTests = lib.optionals stdenv.isDarwin [
# Flaky tests on darwin