diff --git a/pkgs/development/python-modules/hiredis/default.nix b/pkgs/development/python-modules/hiredis/default.nix index d9a6917ae5d8..4125f1c19817 100644 --- a/pkgs/development/python-modules/hiredis/default.nix +++ b/pkgs/development/python-modules/hiredis/default.nix @@ -4,14 +4,17 @@ fetchFromGitHub, pythonOlder, - # tested using + # build-system + setuptools, + + # tests pytestCheckHook, }: buildPythonPackage rec { pname = "hiredis"; - version = "2.3.2"; - format = "setuptools"; + version = "2.4.0"; + pyproject = true; disabled = pythonOlder "3.6"; @@ -20,9 +23,11 @@ buildPythonPackage rec { repo = "hiredis-py"; rev = "refs/tags/v${version}"; fetchSubmodules = true; - hash = "sha256-7hTGXHNECy+dSsop0ULsNZvGFecCIEv+q46s7t/K7k8="; + hash = "sha256-PnCSf7ZEPNtweQEnWTHCCVCvg5QGxGeBSAZCFHOziDQ="; }; + build-system = [ setuptools ]; + pythonImportsCheck = [ "hiredis" ]; nativeCheckInputs = [ pytestCheckHook ];