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