From aa802eaa2d5f514176b055385f0bb335eaac0904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Mar 2026 11:09:30 -0800 Subject: [PATCH] python314Packages.pyuptimerobot: 23.1.0 -> 24.0.1 Diff: https://github.com/ludeeus/pyuptimerobot/compare/23.1.0...24.0.1 Changelog: https://github.com/ludeeus/pyuptimerobot/releases/tag/24.0.1 --- .../python-modules/pyuptimerobot/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyuptimerobot/default.nix b/pkgs/development/python-modules/pyuptimerobot/default.nix index 7e3adb8cfc04..f3aba78079d3 100644 --- a/pkgs/development/python-modules/pyuptimerobot/default.nix +++ b/pkgs/development/python-modules/pyuptimerobot/default.nix @@ -4,29 +4,35 @@ aresponses, buildPythonPackage, fetchFromGitHub, + hatchling, pytestCheckHook, pytest-asyncio, + pythonOlder, }: buildPythonPackage rec { pname = "pyuptimerobot"; - version = "23.1.0"; - format = "setuptools"; + version = "24.0.1"; + pyproject = true; + + disabled = pythonOlder "3.14"; src = fetchFromGitHub { owner = "ludeeus"; repo = "pyuptimerobot"; tag = version; - hash = "sha256-hy/hmXxxEb44X8JUszoA1YF/41y7GkQqC4uS+Pax6WA="; + hash = "sha256-vlEXUwGCmscasdWyCxF1bFjA3weR74Zf3RCk5W5ljFg="; }; postPatch = '' # Upstream doesn't set version in the repo - substituteInPlace setup.py \ - --replace 'version="main",' 'version="${version}",' + substituteInPlace pyproject.toml \ + --replace-fail 'version = "0"' 'version = "${version}"' ''; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ hatchling ]; + + dependencies = [ aiohttp ]; nativeCheckInputs = [ aresponses