13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
24 sha256 = "sha256-4wByVZoOLhrXFx9oK19GBmRcjGoJolQ3Gwx9vQV/n8s=";
31 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
42 # Switch to poetry-core, https://github.com/mjpieters/aiolimiter/pull/77
44 name = "switch-to-peotry-core.patch";
45 url = "https://github.com/mjpieters/aiolimiter/commit/84a85eff42621b0daff8fcf6bb485db313faae0b.patch";
46 sha256 = "sha256-xUfJwLvMF2Xt/V1bKBFn/fjn1uyw7bGNo9RpWxtyr50=";
51 substituteInPlace tox.ini \
52 --replace " --cov=aiolimiter --cov-config=tox.ini --cov-report term-missing" ""
55 pythonImportsCheck = [
60 description = "Implementation of a rate limiter for asyncio";
61 homepage = "https://github.com/mjpieters/aiolimiter";
62 license = with licenses; [ mit ];
63 maintainers = with maintainers; [ fab ];