13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
21 inherit pname version;
22 hash = "sha256-vAWKJdXCCUYfE04fA8q2N9ZqelzMEuWT21b7snmJmoI=";
26 substituteInPlace tests/test_dictconfig.py \
27 --replace-fail "assertEquals" "assertEqual"
28 substituteInPlace tests/test_redis.py \
29 --replace-fail "'redis-server'" "'${redis-server}/bin/redis-server'"
32 build-system = [ setuptools ];
40 # https://bitbucket.org/vinay.sajip/logutils/issues/4/035-pytest-test-suite-warnings-and-errors
44 disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [
45 # Exception: unable to connect to Redis server
49 pythonImportsCheck = [ "logutils" ];
52 description = "Logging utilities";
53 homepage = "https://bitbucket.org/vinay.sajip/logutils/";
54 license = licenses.bsd0;