Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 68 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, freezegun, mashumaro, poetry-core, pyjwt, pytest-asyncio, pytestCheckHook, pythonOlder, syrupy,}:
buildPythonPackage rec { pname = "aioautomower"; version = "2024.4.4"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "Thomas55555"; repo = "aioautomower"; rev = "refs/tags/${version}"; hash = "sha256-/mwKomgY+yifN27bpCK9FjhbZRdllr471Ku+Kn2rUPM="; };
postPatch = '' # Upstream doesn't set a version substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' \ --replace-fail "--cov" "" '';
build-system = [ poetry-core ];
dependencies = [ aiohttp mashumaro pyjwt ];
nativeCheckInputs = [ freezegun pytest-asyncio pytestCheckHook syrupy ];
pythonImportsCheck = [ "aioautomower" ];
pytestFlagsArray = [ "--snapshot-update" ];
disabledTests = [ # File is missing "test_standard_mower" ];
meta = with lib; { description = "Module to communicate with the Automower Connect API"; homepage = "https://github.com/Thomas55555/aioautomower"; changelog = "https://github.com/Thomas55555/aioautomower/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}