From fc7f1d8bb58940e7e10041bb51201a46089aa9c8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 29 Sep 2024 17:04:57 +0200 Subject: [PATCH] python3Packages.hiredis: 2.3.2 -> 2.4.0 https://github.com/redis/hiredis-py/blob/v2.4.0/CHANGELOG.md --- pkgs/development/python-modules/hiredis/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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 ];