Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "hiredis"; version = "3.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "redis"; repo = "hiredis-py"; tag = "v${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-D6w9c9HQwET26YUQy737GZoKYyuQFc2JXt63wQb17QY="; };
build-system = [ setuptools ];
pythonImportsCheck = [ "hiredis" ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = '' rm -rf hiredis '';
meta = { description = "Wraps protocol parsing code in hiredis, speeds up parsing of multi bulk replies"; homepage = "https://github.com/redis/hiredis-py"; changelog = "https://github.com/redis/hiredis-py/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; teams = [ lib.teams.redis ]; };})