about summary refs log tree commit diff
path: root/pkgs/development/python-modules/graphene
diff options
context:
space:
mode:
authorRick van Schijndel <rol3517@gmail.com>2021-05-02 22:56:53 +0200
committerRick van Schijndel <rol3517@gmail.com>2021-05-02 22:56:53 +0200
commit742adf762b6b45f1da95de64941ad7c1b89f1e01 (patch)
tree09c456a0ad63fc7274d1707d6e9639c8fa7a26b4 /pkgs/development/python-modules/graphene
parent4518794ee53d109d551c210a6d195b79e9995a90 (diff)
graphene: fix build by allowing newer versions of aniso8601
All tests seem to pass, which gives some confidence that this is ok.
Diffstat (limited to 'pkgs/development/python-modules/graphene')
-rw-r--r--pkgs/development/python-modules/graphene/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/graphene/default.nix b/pkgs/development/python-modules/graphene/default.nix
index 2839fc337cd8c..be2cc808eb0d8 100644
--- a/pkgs/development/python-modules/graphene/default.nix
+++ b/pkgs/development/python-modules/graphene/default.nix
@@ -11,6 +11,7 @@
 , pytest-mock
 , pytz
 , snapshottest
+, fetchpatch
 }:
 
 buildPythonPackage rec {
@@ -24,6 +25,13 @@ buildPythonPackage rec {
     sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338=";
   };
 
+  # Allow later aniso8601 releases
+  # https://github.com/graphql-python/graphene/pull/1331
+  patches = [ (fetchpatch {
+    url = "https://github.com/graphql-python/graphene/commit/26b16f75b125e35eeb2274b7be503ec29f2e8a45.patch";
+    sha256 = "qm96pNOoxPieEy1CFZpa2Mx010pY3QU/vRyuL0qO3Tk=";
+  }) ];
+
   propagatedBuildInputs = [
     aniso8601
     graphql-core