Merge pull request #210493 from r-ryantm/auto-update/python310Packages.flask-caching
python310Packages.flask-caching: 2.0.1 -> 2.0.2
This commit is contained in:
commit
a5b65a6eb6
1 changed files with 10 additions and 9 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
|
@ -11,20 +12,15 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Caching";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-EN8gCgPwMq9gB3vv5Bd53ZSJi2fIIEDTTochC3G6Jjg=";
|
||||
sha256 = "sha256-JLYMVS1ZqWBcwbakLFbNs5qCoo2rRTK77bkiKuVOy04=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "Flask <= 2.1.2" "Flask <= 2.2"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cachelib
|
||||
flask
|
||||
|
@ -42,11 +38,16 @@ buildPythonPackage rec {
|
|||
# optional backends
|
||||
"Redis"
|
||||
"Memcache"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# ignore flaky test
|
||||
"test_cached_view_class"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds caching support to your Flask application";
|
||||
homepage = "https://github.com/sh4nks/flask-caching";
|
||||
description = "A caching extension for Flask";
|
||||
homepage = "https://github.com/pallets-eco/flask-caching";
|
||||
changelog = "https://github.com/pallets-eco/flask-caching/blob/v${version}/CHANGES.rst";
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue