17 buildPythonPackage rec {
18 pname = "aioautomower";
19 version = "2024.10.0";
22 disabled = pythonOlder "3.11";
24 src = fetchFromGitHub {
25 owner = "Thomas55555";
26 repo = "aioautomower";
27 rev = "refs/tags/${version}";
28 hash = "sha256-qWXFkz1yIpSDGFilVZK0n+hEUs7osfO+2xfknr2cOZY=";
32 # Upstream doesn't set a version
33 substituteInPlace pyproject.toml \
34 --replace-fail 'version = "0.0.0"' 'version = "${version}"' \
35 --replace-fail "--cov" ""
38 build-system = [ poetry-core ];
54 pythonImportsCheck = [ "aioautomower" ];
56 pytestFlagsArray = [ "--snapshot-update" ];
66 description = "Module to communicate with the Automower Connect API";
67 homepage = "https://github.com/Thomas55555/aioautomower";
68 changelog = "https://github.com/Thomas55555/aioautomower/releases/tag/${version}";
69 license = licenses.asl20;
70 maintainers = with maintainers; [ fab ];