22 buildPythonPackage rec {
27 disabled = pythonOlder "3.8";
29 src = fetchFromGitHub {
31 repo = "redis-om-python";
32 rev = "refs/tags/v${version}";
33 hash = "sha256-Pp404HaFpYEPie9xknoabotFrqcI2ibDlPTM+MmnMbg=";
41 # it has not been maintained at all for a half year and some dependencies are outdated
42 # https://github.com/redis/redis-om-python/pull/554
43 # https://github.com/redis/redis-om-python/pull/577
44 pythonRelaxDeps = true;
58 ${python.pythonOnBuildForHost.interpreter} make_sync.py
67 ${pkgs.redis}/bin/redis-server &
75 # probably require redisearch
76 # https://github.com/redis/redis-om-python/issues/532
79 pythonImportsCheck = [
85 description = "Object mapping, and more, for Redis and Python";
86 mainProgram = "migrate";
87 homepage = "https://github.com/redis/redis-om-python";
88 changelog = "https://github.com/redis/redis-om-python/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
89 license = licenses.mit;
90 maintainers = with maintainers; [ natsukium ];