depot/third_party/nixpkgs/pkgs/development/python-modules/log-symbols/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
716 B
Nix

{
buildPythonPackage,
colorama,
fetchPypi,
isPy27,
lib,
}:
buildPythonPackage rec {
pname = "log_symbols";
version = "0.0.14";
disabled = isPy27;
src = fetchPypi {
inherit pname 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 ];
};
}