mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.hiredis: modernize
(cherry picked from commit c8fe7b0ad9)
This commit is contained in:
parent
f50a205480
commit
d63076bfdc
1 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hiredis";
|
||||
version = "3.4.0";
|
||||
pyproject = true;
|
||||
|
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "redis";
|
||||
repo = "hiredis-py";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-TXhl9ny6hdd4n/hHfTAL0ewGcnjZ1vvNwovklSgzkKk=";
|
||||
};
|
||||
|
|
@ -36,8 +36,8 @@ buildPythonPackage rec {
|
|||
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";
|
||||
changelog = "https://github.com/redis/hiredis-py/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue