Martin Weinelt 2024-11-06 20:49:02 +01:00
parent cf03e22456
commit aed1f3d336
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -9,14 +9,16 @@
poetry-core,
pyjwt,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
syrupy,
tzlocal,
}:
buildPythonPackage rec {
pname = "aioautomower";
version = "2024.10.0";
version = "2024.10.3";
pyproject = true;
disabled = pythonOlder "3.11";
@ -25,14 +27,13 @@ buildPythonPackage rec {
owner = "Thomas55555";
repo = "aioautomower";
rev = "refs/tags/${version}";
hash = "sha256-qWXFkz1yIpSDGFilVZK0n+hEUs7osfO+2xfknr2cOZY=";
hash = "sha256-kLsHJBmNxh+PmJQ9Y9Ve/CACovzsRZyzVjor/VKUmYk=";
};
postPatch = ''
# Upstream doesn't set a version
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
--replace-fail "--cov" ""
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
build-system = [ poetry-core ];
@ -42,11 +43,13 @@ buildPythonPackage rec {
ical
mashumaro
pyjwt
tzlocal
];
nativeCheckInputs = [
freezegun
pytest-asyncio
pytest-cov-stub
pytestCheckHook
syrupy
];