summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-kasa/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-kasa/default.nix')
-rw-r--r--pkgs/development/python-modules/python-kasa/default.nix47
1 files changed, 21 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/python-kasa/default.nix b/pkgs/development/python-modules/python-kasa/default.nix
index 807d5d5af9a7..1ccae8b44d0e 100644
--- a/pkgs/development/python-modules/python-kasa/default.nix
+++ b/pkgs/development/python-modules/python-kasa/default.nix
@@ -1,20 +1,21 @@
-{ lib
-, aiohttp
-, anyio
-, async-timeout
-, asyncclick
-, buildPythonPackage
-, cryptography
-, fetchFromGitHub
-, kasa-crypt
-, orjson
-, poetry-core
-, pydantic
-, pytest-asyncio
-, pytest-mock
-, pytestCheckHook
-, pythonOlder
-, voluptuous
+{
+ lib,
+ aiohttp,
+ anyio,
+ async-timeout,
+ asyncclick,
+ buildPythonPackage,
+ cryptography,
+ fetchFromGitHub,
+ kasa-crypt,
+ orjson,
+ poetry-core,
+ pydantic,
+ pytest-asyncio,
+ pytest-mock,
+ pytestCheckHook,
+ pythonOlder,
+ voluptuous,
}:
buildPythonPackage rec {
@@ -31,9 +32,7 @@ buildPythonPackage rec {
hash = "sha256-iCqJY3qkA3ZVXTCfxvQoaZsaqGui8PwKGAmLXKZgLJs=";
};
- nativeBuildInputs = [
- poetry-core
- ];
+ nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
@@ -58,18 +57,14 @@ buildPythonPackage rec {
];
};
- pytestFlagsArray = [
- "--asyncio-mode=auto"
- ];
+ pytestFlagsArray = [ "--asyncio-mode=auto" ];
disabledTestPaths = [
# Skip the examples tests
"kasa/tests/test_readme_examples.py"
];
- pythonImportsCheck = [
- "kasa"
- ];
+ pythonImportsCheck = [ "kasa" ];
meta = with lib; {
description = "Python API for TP-Link Kasa Smarthome products";