17 buildPythonPackage rec {
19 version = "1.7.0.post0";
20 format = "setuptools";
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-bqfFSd7CPYII/3AJCMApqmAYrAWjecOb3JA17FPFMIc=";
36 optional-dependencies = {
37 execnet = [ execnet ];
38 sqlalchemy = [ sqlalchemy ];
41 compression = [ brotli ];
55 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
57 # Some of the tests use localhost networking.
58 __darwinAllowLocalNetworking = true;
60 pythonImportsCheck = [ "logbook" ];
63 # Test require Redis instance
68 description = "Logging replacement for Python";
69 homepage = "https://logbook.readthedocs.io/";
70 changelog = "https://github.com/getlogbook/logbook/blob/${version}/CHANGES";
71 license = licenses.bsd3;