2018-02-20 00:16:31 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, colorama, coverage, termstyle, unidecode, mock, backports_shutil_get_terminal_size }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "green";
|
2018-02-27 00:14:21 +00:00
|
|
|
version = "2.12.1";
|
2018-02-20 00:16:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-27 00:14:21 +00:00
|
|
|
sha256 = "4c0c163bd2ce2da1f201eb69fd92fc24aaeab884f9e5c5a8c23d507a53336fa8";
|
2018-02-20 00:16:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorama coverage termstyle unidecode
|
|
|
|
] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python test runner";
|
|
|
|
homepage = https://github.com/CleanCut/green;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|