From 1edef466c098eb0a94494223b7beeacf2f28507e Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 16 Jul 2015 21:44:31 +0200 Subject: [PATCH] python-packages: prompt_toolkit 0.42 -> 0.43 New features: - Added eventloop and patch_stdout parameters to get_input. - Inputhook support added. - Added ShowLeadingWhiteSpaceProcessor and ShowTrailingWhiteSpaceProcessor processors. - Accept Filter as multiline parameter in 'shortcuts'. - MultiColumnCompletionsMenu + display_completions_in_columns parameter in shortcuts. Backwards incompatible changes (not used in nixpkgs): - Layout.width was renamed to preferred_width and now receives a max_available_width parameter. --- pkgs/top-level/python-packages.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 19f8695c8f81..dd91cd41c38f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9161,6 +9161,10 @@ let click configobj prompt_toolkit psycopg2 pygments sqlparse ]; + postPatch = '' + substituteInPlace setup.py --replace "==" ">=" + ''; + meta = { inherit version; description = "Command-line interface for PostgreSQL"; @@ -9460,10 +9464,10 @@ let prompt_toolkit = buildPythonPackage rec { name = "prompt_toolkit-${version}"; - version = "0.42"; + version = "0.43"; src = pkgs.fetchurl { - sha256 = "04nywwyxzkl3qgah29i959irsbqi8viiadxfkxycqh7hq2yq8h86"; + sha256 = "1z5fap8c7q27p0s82jn11i6fwg0g9zm2zy5na8is53kgbhl10fdr"; url = "https://pypi.python.org/packages/source/p/prompt_toolkit/${name}.tar.gz"; };