pythonPackages.green: 2.13.1 -> 3.0.0

This commit is contained in:
Jonathan Ringer 2019-10-17 09:17:05 -07:00 committed by Frederik Rietdijk
parent 9055fd2535
commit 8ef8be70b0

View File

@ -1,18 +1,31 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, colorama, coverage, termstyle, unidecode, mock, backports_shutil_get_terminal_size }:
{ lib, buildPythonPackage, fetchPypi, isPy3k
, colorama
, coverage
, termstyle
, lxml
, unidecode
, mock
, backports_shutil_get_terminal_size
}:
buildPythonPackage rec {
pname = "green";
version = "2.13.1";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "ea6e2699a2e58df834d2c845fb2b076c12d4835daecfcb658c6bd5583ebf4b7d";
sha256 = "17cfgq0s02p5cjrsvcicqxiq6kflahjsd9pm03f054x7lpvqi5cv";
};
propagatedBuildInputs = [
colorama coverage termstyle unidecode
colorama coverage termstyle unidecode lxml
] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ];
# let green run it's own test suite
checkPhase = ''
$out/bin/green green
'';
meta = with lib; {
description = "Python test runner";
homepage = https://github.com/CleanCut/green;