From 42f0f3e655c4f2f608028acdb3d816baa8e5c045 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 15 Feb 2024 09:04:22 +0100 Subject: [PATCH] python311Packages.aioautomower: 2024.2.4 -> 2024.2.6 Changelog: https://github.com/Thomas55555/aioautomower/releases/tag/2024.2.6 --- .../python-modules/aioautomower/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioautomower/default.nix b/pkgs/development/python-modules/aioautomower/default.nix index 239d8ba1e7dd..f6c86ac2900d 100644 --- a/pkgs/development/python-modules/aioautomower/default.nix +++ b/pkgs/development/python-modules/aioautomower/default.nix @@ -9,11 +9,12 @@ , pytestCheckHook , pythonOlder , setuptools +, syrupy }: buildPythonPackage rec { pname = "aioautomower"; - version = "2024.2.4"; + version = "2024.2.6"; pyproject = true; disabled = pythonOlder "3.11"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "Thomas55555"; repo = "aioautomower"; rev = "refs/tags/${version}"; - hash = "sha256-bgNfV87rHMbNGy8azCS0b6PgkalY2RrbSW2VtjtgPrw="; + hash = "sha256-iYC2bYkO9INbSeny9gy/I0cDSYeyrJiD9MJddUFIlhg="; }; postPatch = '' @@ -45,12 +46,17 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-asyncio pytestCheckHook + syrupy ]; pythonImportsCheck = [ "aioautomower" ]; + pytestFlagsArray = [ + "--snapshot-update" + ]; + meta = with lib; { description = "Module to communicate with the Automower Connect API"; homepage = "https://github.com/Thomas55555/aioautomower";