Something went wrong. Try again.
lol
Something went wrong. Try again.
882 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pytest-asyncio, pytest-cov-stub, pytest-timeout,}:
buildPythonPackage rec { pname = "async-lru"; version = "2.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "aio-libs"; repo = "async-lru"; tag = "v${version}"; hash = "sha256-ytmh6tY6AS2VHajCnnRBSi0i57DUu+ikpbil/RwFyYA="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-cov-stub pytest-timeout ];
pythonImportsCheck = [ "async_lru" ];
meta = { changelog = "https://github.com/aio-libs/async-lru/releases/tag/${src.tag}"; description = "Simple lru cache for asyncio"; homepage = "https://github.com/wikibusiness/async_lru"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}