pythonPackages.green: 2.13.1 -> 3.0.0
This commit is contained in:
parent
9055fd2535
commit
8ef8be70b0
@ -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 {
|
buildPythonPackage rec {
|
||||||
pname = "green";
|
pname = "green";
|
||||||
version = "2.13.1";
|
version = "3.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ea6e2699a2e58df834d2c845fb2b076c12d4835daecfcb658c6bd5583ebf4b7d";
|
sha256 = "17cfgq0s02p5cjrsvcicqxiq6kflahjsd9pm03f054x7lpvqi5cv";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
colorama coverage termstyle unidecode
|
colorama coverage termstyle unidecode lxml
|
||||||
] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ];
|
] ++ 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; {
|
meta = with lib; {
|
||||||
description = "Python test runner";
|
description = "Python test runner";
|
||||||
homepage = https://github.com/CleanCut/green;
|
homepage = https://github.com/CleanCut/green;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user