From 8dd005558cd28db606b6b271e14bcf2b693b1eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 4 Jun 2022 01:57:57 +0200 Subject: [PATCH] python310Packages.graphene-django: fix tests --- pkgs/development/python-modules/graphene-django/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/graphene-django/default.nix b/pkgs/development/python-modules/graphene-django/default.nix index 404a6779505b..f5d9b7904594 100644 --- a/pkgs/development/python-modules/graphene-django/default.nix +++ b/pkgs/development/python-modules/graphene-django/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, fetchpatch , graphene , graphql-core @@ -32,6 +33,11 @@ buildPythonPackage rec { patches = [ ./graphene-3_2_0.patch + (fetchpatch { + url = "https://github.com/graphql-python/graphene-django/commit/ca555293a4334c26cf9a390dd1e3d0bd4c819a17.patch"; + excludes = [ "setup.py" ]; + sha256 = "sha256-RxG1MRhmpBKnHhSg4SV+DjZ3uA0nl9oUeei56xjtUpw="; + }) ]; postPatch = ''