about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/simber/default.nix
blob: 68e9638c350a12bf8592df630439f27a0082a6aa (plain) (blame)
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
35
36
37
38
39
40
41
{ lib
, buildPythonPackage
, fetchFromGitHub
, colorama
, pytestCheckHook
, pythonOlder
}:

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

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "deepjyoti30";
    repo = pname;
    rev = version;
    hash = "sha256-P4bhxu9Di4E2Zkd0vIkyDi1S6Y0V/EQSMF4ftWoiXKE=";
  };

  propagatedBuildInputs = [
    colorama
  ];

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "simber"
  ];

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