{ lib , aioredis , async_generator , buildPythonPackage , fetchPypi , hypothesis , lupa , pytest-asyncio , pytest-mock , pytestCheckHook , pythonOlder , redis , six , sortedcontainers }: buildPythonPackage rec { pname = "fakeredis"; version = "1.7.0"; format = "setuptools"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; sha256 = "sha256-yb0S5DAzbL0+GJ+uDpHrmZl7k+dtv91u1n+jUtxoTHE="; }; propagatedBuildInputs = [ aioredis lupa redis six sortedcontainers ]; checkInputs = [ async_generator hypothesis pytest-asyncio pytest-mock pytestCheckHook ]; disabledTestPaths = [ # AttributeError: 'AsyncGenerator' object has no attribute XXXX "test/test_aioredis2.py" ]; pythonImportsCheck = [ "fakeredis" ]; meta = with lib; { description = "Fake implementation of Redis API"; homepage = "https://github.com/jamesls/fakeredis"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }