python.pkgs.ansicolors: 1.0.2 -> 1.1.8

This commit is contained in:
Frederik Rietdijk 2018-01-07 11:01:54 +01:00
parent f1c7f024f3
commit d16f07bdb9

View File

@ -1,15 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi }:
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "ansicolors";
version = "1.0.2";
name = "${pname}-${version}";
version = "1.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "02lmh2fbqcwr98cq13l9ql0fvyad1dcb3ap3c5xq9qwjp45m6r3n";
extension = "zip";
sha256 = "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
homepage = https://github.com/verigak/colors/;
description = "ANSI colors for Python";