Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 57 lines 1.2 kB view raw
1{ lib 2, aiohttp 3, aresponses 4, buildPythonPackage 5, fetchFromGitHub 6, freezegun 7, poetry-core 8, pytest-asyncio 9, pytest-cov 10, pytestCheckHook 11}: 12 13buildPythonPackage rec { 14 pname = "aiorecollect"; 15 version = "1.0.4"; 16 format = "pyproject"; 17 18 src = fetchFromGitHub { 19 owner = "bachya"; 20 repo = pname; 21 rev = version; 22 sha256 = "sha256-A4qk7eo4maCRP4UmtWrRCPvG6YrLVSOiOcfN8pEj5Po="; 23 }; 24 25 nativeBuildInputs = [ 26 poetry-core 27 ]; 28 29 propagatedBuildInputs = [ 30 aiohttp 31 ]; 32 33 checkInputs = [ 34 aresponses 35 freezegun 36 pytest-asyncio 37 pytest-cov 38 pytestCheckHook 39 ]; 40 41 disabledTestPaths = [ "examples/" ]; 42 43 pythonImportsCheck = [ "aiorecollect" ]; 44 45 meta = with lib; { 46 description = "Python library for the Recollect Waste API"; 47 longDescription = '' 48 aiorecollect is a Python asyncio-based library for the ReCollect 49 Waste API. It allows users to programmatically retrieve schedules 50 for waste removal in their area, including trash, recycling, compost 51 and more. 52 ''; 53 homepage = "https://github.com/bachya/aiorecollect"; 54 license = with licenses; [ mit ]; 55 maintainers = with maintainers; [ fab ]; 56 }; 57}