14 buildPythonPackage rec {
15 pname = "aiorecollect";
16 version = "2023.12.0";
19 disabled = pythonOlder "3.9";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-Rj0+r7eERLY5VzmuDQH/TeVLfmvmKwPqcvd1b/To0Ts=";
29 # this is not used directly by the project
30 sed -i '/certifi =/d' pyproject.toml
33 nativeBuildInputs = [ poetry-core ];
35 propagatedBuildInputs = [ aiohttp ];
37 __darwinAllowLocalNetworking = true;
47 # Ignore the examples directory as the files are prefixed with test_.
51 pythonImportsCheck = [ "aiorecollect" ];
54 description = "Python library for the Recollect Waste API";
56 aiorecollect is a Python asyncio-based library for the ReCollect
57 Waste API. It allows users to programmatically retrieve schedules
58 for waste removal in their area, including trash, recycling, compost
61 homepage = "https://github.com/bachya/aiorecollect";
62 changelog = "https://github.com/bachya/aiorecollect/releases/tag/${version}";
63 license = with licenses; [ mit ];
64 maintainers = with maintainers; [ fab ];