about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/simber/default.nix
blob: 331f84252ceefbee8081e5b7075f7fec2ec30c92 (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
{ lib, buildPythonPackage, fetchFromGitHub, colorama, pytestCheckHook }:

buildPythonPackage rec {
  pname = "simber";
  version = "0.2.3";

  src = fetchFromGitHub {
    owner = "deepjyoti30";
    repo = pname;
    rev = version;
    sha256 = "04dp9b4s7zb166vlacsaypc6iw1p75azqas1wf0flp570qqf3rkx";
  };

  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 ];
  };
}