1 { lib, buildPythonPackage, fetchPypi, isPy3k, pytest, mock, brotli }:
3 buildPythonPackage rec {
9 sha256 = "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36";
12 checkInputs = [ pytest ] ++ lib.optionals (!isPy3k) [ mock ];
14 propagatedBuildInputs = [ brotli ];
17 find tests -name \*.pyc -delete
21 # Some of the tests use localhost networking.
22 __darwinAllowLocalNetworking = true;
25 homepage = "https://pythonhosted.org/Logbook/";
26 description = "A logging replacement for Python";
27 license = lib.licenses.bsd3;