From 69409ac37227646bcb6dbac3dedb49d1214f5088 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 20 Jun 2021 21:59:11 +0200 Subject: [PATCH] python3Packages.diagrams: relax jinja2 constraint --- pkgs/development/python-modules/diagrams/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/diagrams/default.nix b/pkgs/development/python-modules/diagrams/default.nix index f744a2585f89..d34fc3b899f5 100644 --- a/pkgs/development/python-modules/diagrams/default.nix +++ b/pkgs/development/python-modules/diagrams/default.nix @@ -25,6 +25,11 @@ buildPythonPackage rec { sha256 = "1lcqsy3bvlnlnakjysp8qjhy26bhkp1izi5dvzq2fpsffgxk4si4"; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'jinja2 = "^2.10"' 'jinja2 = "*"' + ''; + preConfigure = '' patchShebangs autogen.sh ./autogen.sh