From d1b818e305cba6cf37c200eb5378e28ddccf7b27 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 7 May 2016 22:57:37 +0200 Subject: [PATCH] pythonPackages.prompt_toolkit: 0.60 -> 1.0.0 Changes: https://raw.githubusercontent.com/jonathanslenders/python-prompt-toolkit/master/CHANGELOG --- pkgs/top-level/python-packages.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b4d17fd0dd28..297dfae477c4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15706,6 +15706,10 @@ in modules // { pymysql configobj sqlparse prompt_toolkit pygments click pycrypto ]; + postPatch = '' + substituteInPlace setup.py --replace "==" ">=" + ''; + meta = { inherit version; description = "Command-line interface for MySQL"; @@ -16144,13 +16148,15 @@ in modules // { prompt_toolkit = buildPythonPackage rec { name = "prompt_toolkit-${version}"; - version = "0.60"; + version = "1.0.0"; src = pkgs.fetchurl { - sha256 = "0gf3vv8dmj77xv7lrpccw9k3m1bgq3m71q9s6hqp77zvyd6cqjml"; + sha256 = "192fyzs0hyq0k7wxxl00jwl334l5hwwmdflhvjqqrlj0dsgfs22i"; url = "mirror://pypi/p/prompt_toolkit/${name}.tar.gz"; }; + disabled = isPy35; + buildInputs = with self; [ jedi ipython pygments ]; propagatedBuildInputs = with self; [ docopt six wcwidth ];