Something went wrong. Try again.
lol
Something went wrong. Try again.
900 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# tests pytestCheckHook,}:
buildPythonPackage rec { pname = "hiredis"; version = "3.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "redis"; repo = "hiredis-py"; tag = "v${version}"; fetchSubmodules = true; hash = "sha256-HqQICYjHpUX7/OsaWXJRFeeZDxKKuGJ1x5JiJ9eLmdw="; };
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/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ mmai ]; };}