From 8cf7a13f561f7a6a3c462861c4e636087e4ea142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Jun 2025 18:17:48 -0700 Subject: [PATCH] python3Packages.aioamazondevices: init at 3.0.5 --- .../aioamazondevices/default.nix | 55 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 57 insertions(+) create mode 100644 pkgs/development/python-modules/aioamazondevices/default.nix diff --git a/pkgs/development/python-modules/aioamazondevices/default.nix b/pkgs/development/python-modules/aioamazondevices/default.nix new file mode 100644 index 000000000000..563dbb624bae --- /dev/null +++ b/pkgs/development/python-modules/aioamazondevices/default.nix @@ -0,0 +1,55 @@ +{ + aiohttp, + babel, + beautifulsoup4, + buildPythonPackage, + colorlog, + fetchFromGitHub, + httpx, + lib, + orjson, + poetry-core, + pytest-cov-stub, + pytestCheckHook, + yarl, +}: + +buildPythonPackage rec { + pname = "aioamazondevices"; + version = "3.0.5"; + pyproject = true; + + src = fetchFromGitHub { + owner = "chemelli74"; + repo = "aioamazondevices"; + tag = "v${version}"; + hash = "sha256-CgIkrq5Eni7Iva/bzlcbj1/mqtKPA4mknHC/fQzL7RU="; + }; + + build-system = [ poetry-core ]; + + dependencies = [ + aiohttp + babel + beautifulsoup4 + colorlog + httpx + orjson + yarl + ]; + + pythonImportsCheck = [ "aioamazondevices" ]; + + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; + + meta = { + changelog = "https://github.com/chemelli74/aioamazondevices/blob/${src.tag}/CHANGELOG.md"; + description = "Python library to control Amazon devices"; + homepage = "https://github.com/chemelli74/aioamazondevices"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index faf0040093ef..8d640c640e6f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -189,6 +189,8 @@ self: super: with self; { aioairzone-cloud = callPackage ../development/python-modules/aioairzone-cloud { }; + aioamazondevices = callPackage ../development/python-modules/aioamazondevices { }; + aioambient = callPackage ../development/python-modules/aioambient { }; aioamqp = callPackage ../development/python-modules/aioamqp { };