1{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov }: 2 3buildPythonPackage rec { 4 pname = "Flask-Caching"; 5 version = "1.4.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "e34f24631ba240e09fe6241e1bf652863e0cff06a1a94598e23be526bc2e4985"; 10 }; 11 12 propagatedBuildInputs = [ flask ]; 13 14 checkInputs = [ pytest pytestcov ]; 15 16 checkPhase = '' 17 py.test 18 ''; 19 20 # https://github.com/sh4nks/flask-caching/pull/74 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Adds caching support to your Flask application"; 25 homepage = https://github.com/sh4nks/flask-caching; 26 license = licenses.bsd3; 27 }; 28}