mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.redis: use finalAttrs
This commit is contained in:
parent
ca04963848
commit
c0bb1a0388
1 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@
|
|||
xxhash,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "redis";
|
||||
version = "8.0.0";
|
||||
pyproject = true;
|
||||
|
|
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "redis";
|
||||
repo = "redis-py";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ze9Q8IfSWDAEH0sR+ql0tOu7ajeXF78AKYD6SHpZqRU=";
|
||||
};
|
||||
|
||||
|
|
@ -84,8 +84,8 @@ buildPythonPackage rec {
|
|||
meta = {
|
||||
description = "Python client for Redis key-value store";
|
||||
homepage = "https://github.com/redis/redis-py";
|
||||
changelog = "https://github.com/redis/redis-py/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/redis/redis-py/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue