depot/third_party/nixpkgs/pkgs/development/python-modules/green/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

34 lines
642 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k
, colorama
, coverage
, termstyle
, lxml
, unidecode
}:
buildPythonPackage rec {
pname = "green";
version = "3.2.6";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "e51d4ff6e6885942d944304fedc7440a8f87917aa09526beeecb31a0dae655b8";
};
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;
};
}