Something went wrong. Try again.
lol
Something went wrong. Try again.
721 B · 34 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-asyncio,}:
buildPythonPackage rec { pname = "asyncio-throttle"; version = "1.0.2"; format = "setuptools";
src = fetchFromGitHub { owner = "hallazzang"; repo = "asyncio-throttle"; rev = "v${version}"; sha256 = "1hsjcymdcm0hf4l68scf9n8j7ba89azgh96xhxrnyvwxfs5acnmv"; };
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "asyncio_throttle" ];
meta = { description = "Simple, easy-to-use throttler for asyncio"; homepage = "https://github.com/hallazzang/asyncio-throttle"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; };}