From f82099ff923876dc334d4a1adc30e9d5418c6ddf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 8 Jul 2021 18:52:04 +0200 Subject: [PATCH] python3Packages.graphtage: allow later json5 releases --- pkgs/development/python-modules/graphtage/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/graphtage/default.nix b/pkgs/development/python-modules/graphtage/default.nix index c222ea521bb..500d157427d 100644 --- a/pkgs/development/python-modules/graphtage/default.nix +++ b/pkgs/development/python-modules/graphtage/default.nix @@ -37,6 +37,11 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "json5==0.9.5" "json5>=0.9.5" + ''; + pythonImportsCheck = [ "graphtage" ]; meta = with lib; {