Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 627 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k, colorama, coverage, termstyle, unidecode, mock, backports_shutil_get_terminal_size }: 2 3buildPythonPackage rec { 4 pname = "green"; 5 version = "2.13.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "ea6e2699a2e58df834d2c845fb2b076c12d4835daecfcb658c6bd5583ebf4b7d"; 10 }; 11 12 propagatedBuildInputs = [ 13 colorama coverage termstyle unidecode 14 ] ++ lib.optionals (!isPy3k) [ mock backports_shutil_get_terminal_size ]; 15 16 meta = with lib; { 17 description = "Python test runner"; 18 homepage = https://github.com/CleanCut/green; 19 license = licenses.mit; 20 }; 21}