3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/green/default.nix
2020-09-13 09:09:47 +02:00

35 lines
642 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k
, colorama
, coverage
, termstyle
, lxml
, unidecode
}:
buildPythonPackage rec {
pname = "green";
version = "3.2.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "c5a90e247237ac7e320120961608cf65191134fa400d327cbd4d09864c880935";
};
propagatedBuildInputs = [
colorama coverage termstyle unidecode lxml
];
# let green run it's own test suite
checkPhase = ''
$out/bin/green green
'';
meta = with lib; {
description = "Python test runner";
homepage = "https://github.com/CleanCut/green";
license = licenses.mit;
};
}