anchor.diff:  
   buildPythonPackage rec {
     pname = "fakeredis";
  -  version = "1.7.5";
  +  version = "1.8";
     format = "pyproject";
   
     disabled = pythonOlder "3.7";
   
  -  src = fetchPypi {
  -    inherit pname version;
  -    hash = "sha256-STdcYwmB3UBF2akuJwn81Edskfkn4CKEk+76Yl5wUTM=";
  +  src = fetchFromGitHub {
  +    owner = "dsoftwareinc";
  +    repo = "fakeredis-py";
  +    rev = "v${version}";
  +    hash = "sha256-HWt2EE25h8zUarknrNMBJmizP3rNM9W8IEUMxLyUii8=";
     };
   
  -  postPatch = ''
  -    substituteInPlace setup.cfg \
  -      --replace "redis<4.2.0" "redis"
  -  '';
  +  nativeBuildInputs = [
  +    poetry-core
  +  ];
   
     propagatedBuildInputs = [
  -    aioredis
  -    lupa
       redis
       six
       sortedcontainers
     ];
   
     checkInputs = [
  -    async_generator
       hypothesis
       pytest-asyncio
       pytest-mock
       pytestCheckHook
     ];
  +
  +  passthru.optional-dependencies = {
  +    lua = [
  +      lupa
  +    ];
  +    aioredis = [
  +      aioredis
  +    ];
  +  };
   
     pythonImportsCheck = [
       "fakeredis"
  
positive.code: { lib
  , aioredis
  , async_generator
  , buildPythonPackage
  , fetchPypi
  , hypothesis
  , lupa
  , pytest-asyncio
  , pytest-mock
  , pytestCheckHook
  , pythonOlder
  , redis
  , six
  
negative.code: 
    meta = with lib; {
      description = "Fake implementation of Redis API";
      homepage = "https://github.com/dsoftwareinc/fakeredis-py";
      license = with licenses; [ mit ];
      maintainers = with maintainers; [ fab ];
    };
  