Skip to content

Commit a9e0700

Browse files
authored
python313Packages.redis-om: fix pythonImportsCheck (#447515)
2 parents 4d5df50 + fab6bb5 commit a9e0700

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pkgs/development/python-modules/redis-om/default.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
pythonOlder,
5+
fetchpatch,
66
unasync,
77
poetry-core,
88
python,
@@ -24,15 +24,22 @@ buildPythonPackage rec {
2424
version = "0.3.5";
2525
pyproject = true;
2626

27-
disabled = pythonOlder "3.8";
28-
2927
src = fetchFromGitHub {
3028
owner = "redis";
3129
repo = "redis-om-python";
3230
tag = "v${version}";
3331
hash = "sha256-TfwMYDZYDKCdI5i8izBVZaXN5GC/Skhkl905c/DHuXY=";
3432
};
3533

34+
patches = [
35+
# Include redis_om package, https://github.com/redis/redis-om-python/pull/718
36+
(fetchpatch {
37+
name = "include-redis_om.patch";
38+
url = "https://github.com/redis/redis-om-python/commit/cc03485f148dcc2f455dd8cafd3b116758504c50.patch";
39+
hash = "sha256-UzQfRbLCTnKW5jxQhldI9KCuN//bx3/PvNnfd872D+o=";
40+
})
41+
];
42+
3643
build-system = [
3744
unasync
3845
poetry-core

0 commit comments

Comments
 (0)