Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 68 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, aioredis, buildPythonPackage, fetchFromGitHub, hypothesis, lupa, poetry-core, pytest-asyncio, pytestCheckHook, pytest-mock, pythonOlder, redis, six, sortedcontainers}:
buildPythonPackage rec { pname = "fakeredis"; version = "2.12.1"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "dsoftwareinc"; repo = "fakeredis-py"; rev = "refs/tags/v${version}"; hash = "sha256-WF3dITWCrTQDORfaGWPpJBQFkPrUN6faHohjvBuOW7I="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ redis six sortedcontainers ];
nativeCheckInputs = [ hypothesis pytest-asyncio pytest-mock pytestCheckHook ];
passthru.optional-dependencies = { lua = [ lupa ]; aioredis = [ aioredis ]; };
pythonImportsCheck = [ "fakeredis" ];
meta = with lib; { description = "Fake implementation of Redis API"; homepage = "https://github.com/dsoftwareinc/fakeredis-py"; changelog = "https://github.com/cunla/fakeredis-py/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}