summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/log-symbols/default.nix
blob: f8cdce634ac93c8b6564b0f34cfa7ee8bfea26e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ buildPythonPackage
, colorama
, fetchPypi
, isPy27
, pytestCheckHook
, 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 ];
  };
}