From 79376f03e65cf4578e62e6e8944f89c2de5df72b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Aug 2026 11:35:14 +0200 Subject: [PATCH] python3Packages.aioautomower: 2.7.6 -> 2.8.0 Changelog: https://github.com/Thomas55555/aioautomower/releases/tag/v2.8.0 --- .../python-modules/aioautomower/default.nix | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/aioautomower/default.nix b/pkgs/development/python-modules/aioautomower/default.nix index 3ab2d1d4e0c3..2ad677f515fc 100644 --- a/pkgs/development/python-modules/aioautomower/default.nix +++ b/pkgs/development/python-modules/aioautomower/default.nix @@ -1,6 +1,7 @@ { lib, aiohttp, + aiointercept, aioresponses, buildPythonPackage, fetchFromGitHub, @@ -8,13 +9,13 @@ ical, mashumaro, orjson, - poetry-core, - poetry-dynamic-versioning, + hatchling, pyjwt, pytest-asyncio, pytest-cov-stub, pytestCheckHook, python-dateutil, + pyprojectVersionPatchHook, syrupy, time-machine, tzlocal, @@ -22,26 +23,19 @@ buildPythonPackage (finalAttrs: { pname = "aioautomower"; - version = "2.7.6"; + version = "2.8.0"; pyproject = true; src = fetchFromGitHub { owner = "Thomas55555"; repo = "aioautomower"; tag = "v${finalAttrs.version}"; - hash = "sha256-oQyKIwcVMNW9ez7T0jNGUbPOJoJL6idP9ZgRVwDPX3A="; + hash = "sha256-+Glgh4MIbr1kZUvUzJ43G1sKTCZRGlBknEOBKY4q3iE="; }; - postPatch = '' - # Upstream doesn't set a version - substituteInPlace pyproject.toml \ - --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"' - ''; + build-system = [ hatchling ]; - build-system = [ - poetry-core - poetry-dynamic-versioning - ]; + nativeBuildInputs = [ pyprojectVersionPatchHook ]; dependencies = [ aiohttp @@ -54,6 +48,7 @@ buildPythonPackage (finalAttrs: { ]; nativeCheckInputs = [ + aiointercept aioresponses freezegun pytest-asyncio