Unverified Commit a9e07006 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python313Packages.redis-om: fix pythonImportsCheck (#447515)

parents 4d5df503 fab6bb5d
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  fetchpatch,
  unasync,
  poetry-core,
  python,
@@ -24,8 +24,6 @@ buildPythonPackage rec {
  version = "0.3.5";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "redis";
    repo = "redis-om-python";
@@ -33,6 +31,15 @@ buildPythonPackage rec {
    hash = "sha256-TfwMYDZYDKCdI5i8izBVZaXN5GC/Skhkl905c/DHuXY=";
  };

  patches = [
    # Include redis_om package, https://github.com/redis/redis-om-python/pull/718
    (fetchpatch {
      name = "include-redis_om.patch";
      url = "https://github.com/redis/redis-om-python/commit/cc03485f148dcc2f455dd8cafd3b116758504c50.patch";
      hash = "sha256-UzQfRbLCTnKW5jxQhldI9KCuN//bx3/PvNnfd872D+o=";
    })
  ];

  build-system = [
    unasync
    poetry-core