python3Packages.colored-traceback: init at 0.3.0

Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
Pamplemousse 2021-05-14 17:26:48 -07:00 committed by Benno Fünfstück
parent 7f3e435bdf
commit 4f77a0e08e
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pygments
}:
buildPythonPackage rec {
pname = "colored-traceback";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-bafOKx2oafa7VMkntBW5VyfEu22ahMRhXqd9mHKRGwU=";
};
buildInputs = [ pygments ];
# No setuptools tests for the package.
doCheck = false;
pythonImportsCheck = [ "colored_traceback" ];
meta = with lib; {
homepage = "https://github.com/staticshock/colored-traceback.py";
description = "Automatically color Python's uncaught exception tracebacks";
license = licenses.isc;
maintainers = with maintainers; [ pamplemousse ];
};
}

View file

@ -1479,6 +1479,8 @@ in {
colored = callPackage ../development/python-modules/colored { };
colored-traceback = callPackage ../development/python-modules/colored-traceback { };
coloredlogs = callPackage ../development/python-modules/coloredlogs { };
colorful = callPackage ../development/python-modules/colorful { };