python3Packages.valkey: fix valkey 9.1 compat

(cherry picked from commit 28e20e77fc)
This commit is contained in:
Martin Weinelt 2026-06-15 15:24:45 +02:00
commit 653b43f22f

View file

@ -40,11 +40,20 @@ buildPythonPackage rec {
};
patches = [
# valkey 9.0 compat
(fetchpatch {
# valkey 9.0 compat
url = "https://github.com/valkey-io/valkey-py/commit/c01505e547f614f278b882a016557b6ed652bb9f.patch";
hash = "sha256-rvA65inIioqdc+QV4KaaUv1I/TMZUq0TWaFJcJiy8NU=";
})
# valkey 9.1 compat
(fetchpatch {
url = "https://github.com/valkey-io/valkey-py/commit/df5c44903dc8e2dda733e5576324ba0ff8c4c6a0.patch";
hash = "sha256-0wsWuaOYWBgf6BjlJuciZYRbugYfchTU2khQX7rtRJg=";
})
(fetchpatch {
url = "https://github.com/valkey-io/valkey-py/commit/046c7fb9e8260c2d69d05141b1519903c4e40efe.patch";
hash = "sha256-/yN1y0hbmBR6o6ab4h0qkn/qhU6jASOIeqWhxUi5w/I=";
})
];
build-system = [ setuptools ];