|
|
|
@ -1,18 +1,34 @@ |
|
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytest-cov, pytest-xprocess, pytestcache }: |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, pythonOlder |
|
|
|
|
, fetchPypi |
|
|
|
|
, cachelib |
|
|
|
|
, flask |
|
|
|
|
, pytest-asyncio |
|
|
|
|
, pytest-xprocess |
|
|
|
|
, pytestCheckHook |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "Flask-Caching"; |
|
|
|
|
version = "1.10.1"; |
|
|
|
|
disabled = isPy27; # invalid python2 syntax |
|
|
|
|
version = "1.11.1"; |
|
|
|
|
disabled = pythonOlder "3.7"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "cf19b722fcebc2ba03e4ae7c55b532ed53f0cbf683ce36fafe5e881789a01c00"; |
|
|
|
|
sha256 = "28af189e97defb9e39b43ebe197b54a58aaee81bdeb759f46d969c26d7aa7810"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask ]; |
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
cachelib |
|
|
|
|
flask |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook pytest-cov pytest-xprocess pytestcache ]; |
|
|
|
|
checkInputs = [ |
|
|
|
|
pytest-asyncio |
|
|
|
|
pytest-xprocess |
|
|
|
|
pytestCheckHook |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
disabledTests = [ |
|
|
|
|
# backend_cache relies on pytest-cache, which is a stale package from 2013 |
|
|
|
|