3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/green/default.nix

22 lines
627 B
Nix
Raw Normal View History

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";
2019-02-14 07:37:17 +00:00
version = "2.13.1";
2018-02-20 00:16:31 +00:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:17 +00:00
sha256 = "ea6e2699a2e58df834d2c845fb2b076c12d4835daecfcb658c6bd5583ebf4b7d";
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;
};
}