python3Packages.log-symbols: init at 0.0.14

This commit is contained in:
Matej Urbas 2021-01-23 04:25:42 +00:00
parent b92076c591
commit a354c8ff18
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ buildPythonPackage
, colorama
, fetchPypi
, isPy27
, pytestCheckHook
, lib }:
buildPythonPackage rec {
pname = "log-symbols";
version = "0.0.14";
disabled = isPy27;
src = fetchPypi {
# the package is named log-symbols but PyPI files are named log_symbols
pname = "log_symbols";
inherit version;
sha256 = "0mh5d0igw33libfmbsr1ri1p1y644p36nwaa2w6kzrd8w5pvq2yg";
};
propagatedBuildInputs = [ colorama ];
# Tests are not included in the PyPI distribution and the git repo does not have tagged releases
doCheck = false;
pythonImportsCheck = [ "log_symbols" ];
meta = with lib; {
description = "Colored Symbols for Various Log Levels.";
homepage = "https://github.com/manrajgrover/py-log-symbols";
license = licenses.mit;
maintainers = with maintainers; [ urbas ];
};
}

View file

@ -3776,6 +3776,8 @@ in {
lockfile = callPackage ../development/python-modules/lockfile { };
log-symbols = callPackage ../development/python-modules/log-symbols { };
Logbook = callPackage ../development/python-modules/Logbook { };
logfury = callPackage ../development/python-modules/logfury { };