python: blessings: 1.6 -> 1.7

This commit is contained in:
Frederik Rietdijk 2018-11-04 11:34:54 +01:00
parent a61c10b3a2
commit ac71c0a634

View file

@ -1,20 +1,29 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, six
, nose
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "blessings"; pname = "blessings";
version = "1.6"; version = "1.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "01rhgn2c3xjf9h1lxij9m05iwf2ba6d0vd7nic26c2gic4q73igd"; sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d";
}; };
# 4 failing tests, 2to3 # 4 failing tests, 2to3
doCheck = false; doCheck = false;
propagatedBuildInputs = [ six ];
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/erikrose/blessings; homepage = https://github.com/erikrose/blessings;
description = "A thin, practical wrapper around terminal coloring, styling, and positioning"; description = "A thin, practical wrapper around terminal coloring, styling, and positioning";