35 lines
760 B
Nix
35 lines
760 B
Nix
{
|
|
buildPythonPackage,
|
|
colorama,
|
|
fetchPypi,
|
|
lib,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "log-symbols";
|
|
version = "0.0.14";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "log_symbols";
|
|
inherit version;
|
|
hash = "sha256-zwu8b+Go5T8NF0pxa8YlxPhwQ8wh61XdinQM/iJoBVY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ colorama ];
|
|
|
|
# Tests are not included in the PyPI distribution and the git repo does not have tagged releases
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "log_symbols" ];
|
|
|
|
meta = {
|
|
description = "Colored Symbols for Various Log Levels";
|
|
homepage = "https://github.com/manrajgrover/py-log-symbols";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ urbas ];
|
|
};
|
|
}
|