summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-06-21 00:33:25 +0000
committerRobert Schütz <github@dotlambda.de>2022-07-03 14:21:30 +0000
commite72989c32313ce64a005f72d2f410dd2776e2a77 (patch)
tree6622f9bfc69e030b2d62271e60d51f6a2f969089
parentpython310Packages.cookiecutter: 1.7.3 -> 2.1.1 (diff)
downloadnixpkgs-e72989c32313ce64a005f72d2f410dd2776e2a77.tar.gz
python310Packages.flask-caching: 1.10.1 -> 1.11.1
(cherry picked from commit be19a33c51f09b5bcad64554a64d51e3b5beea4b)
-rw-r--r--pkgs/development/python-modules/flask-caching/default.nix28
1 files changed, 22 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix
index 9fd80ac6d677..6e78841ab8c3 100644
--- a/pkgs/development/python-modules/flask-caching/default.nix
+++ b/pkgs/development/python-modules/flask-caching/default.nix
@@ -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