From ac71c0a6349ec22f5f1b24376673c2f53742a909 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 4 Nov 2018 11:34:54 +0100 Subject: [PATCH] python: blessings: 1.6 -> 1.7 --- .../python-modules/blessings/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/blessings/default.nix b/pkgs/development/python-modules/blessings/default.nix index d17851696544..23e9067ea33c 100644 --- a/pkgs/development/python-modules/blessings/default.nix +++ b/pkgs/development/python-modules/blessings/default.nix @@ -1,20 +1,29 @@ { stdenv , buildPythonPackage , fetchPypi +, six +, nose }: buildPythonPackage rec { pname = "blessings"; - version = "1.6"; + version = "1.7"; src = fetchPypi { inherit pname version; - sha256 = "01rhgn2c3xjf9h1lxij9m05iwf2ba6d0vd7nic26c2gic4q73igd"; + sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d"; }; # 4 failing tests, 2to3 doCheck = false; + propagatedBuildInputs = [ six ]; + checkInputs = [ nose ]; + + checkPhase = '' + nosetests + ''; + meta = with stdenv.lib; { homepage = https://github.com/erikrose/blessings; description = "A thin, practical wrapper around terminal coloring, styling, and positioning";