about summary refs log tree commit diff
path: root/pkgs/development/python-modules/flask-caching/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-07-13 09:45:40 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-07-13 09:45:40 +0200
commit54065ae20d6c91cab54aa706d6e819baf673b80c (patch)
tree4b2efeafb2b34de1153ccfb5cf01387842c86143 /pkgs/development/python-modules/flask-caching/default.nix
parent22cb7f25f2f939a5e38f5e0c0920a743c37a9480 (diff)
parent7803ff314c707ee11a6d8d1c9ac4cde70737d22e (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/flask-caching/default.nix')
-rw-r--r--pkgs/development/python-modules/flask-caching/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix
index 84f549231ce61..bd528af6bfab1 100644
--- a/pkgs/development/python-modules/flask-caching/default.nix
+++ b/pkgs/development/python-modules/flask-caching/default.nix
@@ -1,28 +1,26 @@
-{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov }:
+{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov, pytest-xprocess }:
 
 buildPythonPackage rec {
   pname = "Flask-Caching";
-  version = "1.4.0";
+  version = "1.7.2";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "e34f24631ba240e09fe6241e1bf652863e0cff06a1a94598e23be526bc2e4985";
+    sha256 = "17jnnmnpdflv120yhsfbnpick06iias6f2hcxmf1mi1nr35kdqjj";
   };
 
   propagatedBuildInputs = [ flask ];
 
-  checkInputs = [ pytest pytestcov ];
+  checkInputs = [ pytest pytestcov pytest-xprocess ];
 
+  # backend_cache relies on pytest-cache, which is a stale package from 2013
   checkPhase = ''
-    py.test
+    pytest -k 'not backend_cache'
   '';
 
-  # https://github.com/sh4nks/flask-caching/pull/74
-  doCheck = false;
-
   meta = with lib; {
     description = "Adds caching support to your Flask application";
-    homepage = https://github.com/sh4nks/flask-caching;
+    homepage = "https://github.com/sh4nks/flask-caching";
     license = licenses.bsd3;
   };
 }