Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / simber / default.nix
blobc5e3a8ef221089661425d404d0a8222be6c39338
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , colorama
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "simber";
11   version = "0.2.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "deepjyoti30";
18     repo = pname;
19     rev = "refs/tags/${version}";
20     hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco=";
21   };
23   propagatedBuildInputs = [
24     colorama
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "simber"
33   ];
35   meta = with lib; {
36     description = "Simple, minimal and powerful logger for Python";
37     homepage = "https://github.com/deepjyoti30/simber";
38     changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}";
39     license = licenses.mit;
40     maintainers = with maintainers; [ j0hax ];
41   };