diff options
Diffstat (limited to 'pkgs/development/python-modules/pyswitchbot/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/pyswitchbot/default.nix | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index ad55dbc99fdf..335f0b8239a7 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -1,15 +1,16 @@ -{ lib -, bleak -, bleak-retry-connector -, boto3 -, buildPythonPackage -, cryptography -, fetchFromGitHub -, pyopenssl -, pythonOlder -, pytestCheckHook -, requests -, setuptools +{ + lib, + bleak, + bleak-retry-connector, + boto3, + buildPythonPackage, + cryptography, + fetchFromGitHub, + pyopenssl, + pythonOlder, + pytestCheckHook, + requests, + setuptools, }: buildPythonPackage rec { @@ -26,9 +27,7 @@ buildPythonPackage rec { hash = "sha256-lQVUHZvAZ4J0DLlUl30dSz2wwXKb9MK5prkXvub0yNI="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ bleak @@ -39,18 +38,14 @@ buildPythonPackage rec { requests ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # mismatch in expected data structure "test_parse_advertisement_data_curtain" ]; - pythonImportsCheck = [ - "switchbot" - ]; + pythonImportsCheck = [ "switchbot" ]; meta = with lib; { description = "Python library to control Switchbot IoT devices"; |
