11 buildPythonPackage rec {
15 disabled = pythonOlder "3.8";
17 format = "setuptools";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-S2sOkgtS+YdMtVP7UHD3+oR8Fem8roLhhgVVfh33PcM=";
26 propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
29 sed -i -e '/^addopts/d' -e '/^filterwarnings/,+2d' setup.cfg
37 pythonImportsCheck = [ "async_lru" ];
40 description = "Simple lru cache for asyncio";
41 homepage = "https://github.com/wikibusiness/async_lru";
42 license = licenses.mit;
43 maintainers = with maintainers; [ dotlambda ];