Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python310Packages.flask-caching: 2.0.1 -> 2.0.2 #210493

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions pkgs/development/python-modules/flask-caching/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, pythonOlder
, fetchPypi
Expand All @@ -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
Expand All @@ -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;
};
}