11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.6";
18 src = fetchFromGitHub {
20 repo = "python-diskcache";
22 hash = "sha256-c/k8mx/T4RkseDobJ2gtcuom0A6Ewyw4aP2Bk9pxV+o=";
32 sed -i "/--cov/d" tox.ini
35 # Darwin sandbox causes most tests to fail
36 doCheck = !stdenv.isDarwin;
39 # Very time sensitive, can fail on over subscribed machines
40 "test_incr_update_keyerror"
41 # AssertionError: 'default' is not None
46 # see https://github.com/grantjenks/python-diskcache/issues/260
47 "test_cache_write_unpicklable_object"
50 pythonImportsCheck = [
55 description = "Disk and file backed persistent cache";
56 homepage = "http://www.grantjenks.com/docs/diskcache/";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ ];