From 8b4996eac28aef0d292481f148f32f10e634e157 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 20 Dec 2019 22:19:54 -0800 Subject: [PATCH] python3Packages.pgcli: remove prompt_tookit version bounds --- pkgs/development/tools/database/pgcli/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/tools/database/pgcli/default.nix b/pkgs/development/tools/database/pgcli/default.nix index 03f0ae3c444..4038ad7010f 100644 --- a/pkgs/development/tools/database/pgcli/default.nix +++ b/pkgs/development/tools/database/pgcli/default.nix @@ -19,6 +19,11 @@ buildPythonApplication rec { pygments sqlparse pgspecial setproctitle keyring ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "prompt_toolkit>=2.0.6,<3.0.0" "prompt_toolkit" + ''; + checkInputs = [ pytest mock ]; # `test_application_name_db_uri` fails: https://github.com/dbcli/pgcli/issues/1104