18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
26 owner = "python-cachier";
28 rev = "refs/tags/v${version}";
29 hash = "sha256-VApP1DRs+mjx+SELpdDOm2Sa7zBYHDqD/htFF/eNLu0=";
32 pythonRemoveDeps = [ "setuptools" ];
55 "test_mongetter_default_param"
56 "test_stale_after_applies_dynamically"
57 "test_next_time_applies_dynamically"
60 "test_ignore_self_in_methods"
61 "test_mongo_index_creation"
64 # don't test formatting
69 export HOME="$(mktemp -d)"
72 pythonImportsCheck = [ "cachier" ];
75 homepage = "https://github.com/python-cachier/cachier";
76 description = "Persistent, stale-free, local and cross-machine caching for functions";
77 mainProgram = "cachier";
78 maintainers = with lib.maintainers; [ pbsds ];
79 license = lib.licenses.mit;