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";
2018-11-04 10:35:01 +00:00
version = "2.13.0";
2018-02-20 00:16:31 +00:00
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:01 +00:00
sha256 = "fe937dab641e7bb8b7b0a3678bc1372f1759282934767b035de681a40da7033b";
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;
};
}