Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / verboselogs / default.nix
blob45f747b936ee0b1fc0cf5c5afd073a87b1863402
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , mock
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "verboselogs";
11   version = "1.7";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "xolox";
18     repo = "python-verboselogs";
19     rev = version;
20     hash = "sha256-hcIdbn0gdkdJ33KcOx6uv0iMXW0x+i880SoROi+qX4I=";
21   };
23   nativeCheckInputs = [
24     pytestCheckHook
25     mock
26   ];
28   pythonImportsCheck = [
29     "verboselogs"
30   ];
32   disabledTests = [
33     # Do not run pylint plugin test
34     "test_pylint_plugin"
35   ];
37   meta = with lib; {
38     description = "Verbose logging for Python's logging module";
39     homepage = "https://github.com/xolox/python-verboselogs";
40     license = licenses.mit;
41     maintainers = with maintainers; [ eyjhb ];
42   };