From a231baa23728be700fdb5f913b86a789be802677 Mon Sep 17 00:00:00 2001 From: Austin Butler Date: Sat, 26 Sep 2020 16:11:00 -0700 Subject: [PATCH] pythonPackages.blessed: 1.15.0 -> 1.17.10 --- .../python-modules/blessed/default.nix | 24 ++++--------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/blessed/default.nix b/pkgs/development/python-modules/blessed/default.nix index 76394c5f85af..e2963eb51b15 100644 --- a/pkgs/development/python-modules/blessed/default.nix +++ b/pkgs/development/python-modules/blessed/default.nix @@ -2,35 +2,21 @@ , wcwidth, pytest, mock, glibcLocales }: -let - - fixTestSuiteFailure_1 = fetchpatch { - url = "https://github.com/jquast/blessed/pull/108/commits/76a54d39b0f58bfc71af04ee143459eefb0e1e7b.patch"; - sha256 = "1higmv4c03ly7ywac1d7s71f3hrl531vj16nsfl9xh6zh9c47qcg"; - }; - - fixTestSuiteFailure_2 = fetchpatch { - url = "https://github.com/jquast/blessed/pull/108/commits/aa94e01aed745715e667601fb674844b257cfcc9.patch"; - sha256 = "1frygr6sc1vakdfx1hf6jj0dbwibiqz8hw9maf1b605cbslc9nay"; - }; - -in - buildPythonPackage rec { pname = "blessed"; - version = "1.15.0"; + version = "1.17.10"; src = fetchPypi { inherit pname version; - sha256 = "777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21"; + sha256 = "09kcz6w87x34a3h4r142z3zgw0av19cxn9jrbz52wkpm1534dfaq"; }; - patches = [ fixTestSuiteFailure_1 fixTestSuiteFailure_2 ]; - checkInputs = [ pytest mock glibcLocales ]; + # Default tox.ini parameters not needed checkPhase = '' - LANG=en_US.utf-8 py.test blessed/tests + rm tox.ini + pytest ''; propagatedBuildInputs = [ wcwidth six ];