12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.6";
19 src = fetchFromGitHub {
21 repo = "python-diskcache";
23 hash = "sha256-1cDpdf+rLaG14TDd1wEHAiYXb69NFTFeOHD1Ib1oOVY=";
33 sed -i "/--cov/d" tox.ini
36 # Darwin sandbox causes most tests to fail
37 doCheck = !stdenv.hostPlatform.isDarwin;
40 # Very time sensitive, can fail on over subscribed machines
41 "test_incr_update_keyerror"
42 # AssertionError: 'default' is not None
47 # see https://github.com/grantjenks/python-diskcache/issues/260
48 "test_cache_write_unpicklable_object"
51 pythonImportsCheck = [ "diskcache" ];
54 description = "Disk and file backed persistent cache";
55 homepage = "http://www.grantjenks.com/docs/diskcache/";
56 license = licenses.asl20;