summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/simber/default.nix
blob: 98aab295b2b30bce527e2ae8f51deaf5e5b104cc (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
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  colorama,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "simber";
  version = "0.2.6";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "deepjyoti30";
    repo = "simber";
    tag = version;
    hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco=";
  };

  propagatedBuildInputs = [ colorama ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "simber" ];

  meta = {
    description = "Simple, minimal and powerful logger for Python";
    homepage = "https://github.com/deepjyoti30/simber";
    changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ j0hax ];
  };
}