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
This commit is contained in:
Robert Schütz
2026-03-08 11:30:39 -07:00
parent f9a1423309
commit aa802eaa2d
@@ -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