14 buildPythonPackage rec {
15 pname = "flask-caching";
17 format = "setuptools";
18 disabled = pythonOlder "3.7";
21 pname = "Flask-Caching";
23 hash = "sha256-t1AMFFE1g2qVLj3jqAiB2WVOMnopyFLJJlYH9cRJI1w=";
27 substituteInPlace setup.py \
28 --replace "cachelib >= 0.9.0, < 0.10.0" "cachelib"
31 propagatedBuildInputs = [
44 # backend_cache relies on pytest-cache, which is a stale package from 2013
49 ] ++ lib.optionals stdenv.isDarwin [
51 "test_cache_timeout_dynamic"
52 "test_cached_view_class"
56 description = "A caching extension for Flask";
57 homepage = "https://github.com/pallets-eco/flask-caching";
58 changelog = "https://github.com/pallets-eco/flask-caching/blob/v${version}/CHANGES.rst";
59 maintainers = with maintainers; [ ];
60 license = licenses.bsd3;