python311Packages.python-kasa: 0.5.1 -> 0.5.2
Diff: python-kasa/python-kasa@refs/tags/0.5.1...0.5.2 Changelog: https://github.com/python-kasa/python-kasa/blob/0.5.2/CHANGELOG.md
This commit is contained in:
parent
565fc74d28
commit
3095204c38
|
@ -1,10 +1,12 @@
|
|||
{ lib
|
||||
, anyio
|
||||
, asyncclick
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, pydantic
|
||||
, kasa-crypt
|
||||
, orjson
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
|
@ -14,16 +16,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-kasa";
|
||||
version = "0.5.1";
|
||||
version = "0.5.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vp2r842f9A2lEFLhUcHyGZavAWT4Ke9mH+FAlGucdqo=";
|
||||
hash = "sha256-+ezs8mj3TRmeIhKPxyov9BPdNkhj0ri4FgoZdW7O8tA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -31,8 +33,8 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
anyio
|
||||
asyncclick
|
||||
importlib-metadata
|
||||
pydantic
|
||||
];
|
||||
|
||||
|
@ -43,6 +45,13 @@ buildPythonPackage rec {
|
|||
voluptuous
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
speedup = [
|
||||
kasa-crypt
|
||||
orjson
|
||||
];
|
||||
};
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--asyncio-mode=auto"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue