From ee083fdaf0d06c1d5be6c4587b999d0f7eb73335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 31 Aug 2024 22:22:43 -0700 Subject: [PATCH] python312Packages.ring-doorbell: 0.8.12 -> 0.9.3 Changelog: https://github.com/tchellomello/python-ring-doorbell/blob/0.9.3/CHANGELOG.md --- .../python-modules/ring-doorbell/default.nix | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/ring-doorbell/default.nix b/pkgs/development/python-modules/ring-doorbell/default.nix index 7491f3fa5e51..209ca7090cc7 100644 --- a/pkgs/development/python-modules/ring-doorbell/default.nix +++ b/pkgs/development/python-modules/ring-doorbell/default.nix @@ -1,33 +1,36 @@ { lib, + aiofiles, + aiohttp, + aioresponses, asyncclick, buildPythonPackage, fetchPypi, firebase-messaging, + freezegun, oauthlib, poetry-core, pytest-asyncio, + pytest-freezer, pytest-mock, pytest-socket, pytestCheckHook, pythonOlder, pytz, - requests, - requests-mock, - requests-oauthlib, + typing-extensions, }: buildPythonPackage rec { pname = "ring-doorbell"; - version = "0.8.12"; + version = "0.9.3"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchPypi { pname = "ring_doorbell"; inherit version; - hash = "sha256-CcnGfiJuv3hzez/G/Nu4OyruPL+bbSAtMAfGruqyPUU="; + hash = "sha256-jzhboyDq3PXkwKKrAehX1F1UEUo9qofb+Z4/W5vwjiU="; }; pythonRelaxDeps = [ "requests-oauthlib" ]; @@ -35,23 +38,26 @@ buildPythonPackage rec { build-system = [ poetry-core ]; dependencies = [ + aiofiles + aiohttp asyncclick oauthlib pytz - requests - requests-oauthlib + typing-extensions ]; - passthru.optional-dependencies = { + optional-dependencies = { listen = [ firebase-messaging ]; }; nativeCheckInputs = [ + aioresponses + freezegun pytest-asyncio + pytest-freezer pytest-mock pytest-socket pytestCheckHook - requests-mock ]; pythonImportsCheck = [ "ring_doorbell" ]; @@ -59,7 +65,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library to communicate with Ring Door Bell"; homepage = "https://github.com/tchellomello/python-ring-doorbell"; - changelog = "https://github.com/tchellomello/python-ring-doorbell/releases/tag/${version}"; + changelog = "https://github.com/tchellomello/python-ring-doorbell/blob/${version}/CHANGELOG.md"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ graham33 ]; mainProgram = "ring-doorbell";