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:
Mario Rodas 2023-01-13 19:53:04 -05:00 committed by GitHub
commit a5b65a6eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
};
}