about summary refs log tree commit diff
path: root/pkgs/development/python-modules/werkzeug
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-12-30 12:28:33 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-12-31 11:01:55 +0100
commitb0146980e563eeb1cdd27293ac67c48dc3785a6c (patch)
tree35a1475b433b07b085c7a4ad206f1e2f2f860775 /pkgs/development/python-modules/werkzeug
parentb368eb2666ddee76319c7e253f945ec5191171c7 (diff)
python: Werkzeug: 0.12.2 -> 0.13
Diffstat (limited to 'pkgs/development/python-modules/werkzeug')
-rw-r--r--pkgs/development/python-modules/werkzeug/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/werkzeug/default.nix b/pkgs/development/python-modules/werkzeug/default.nix
index 5979d895a7475..254897be78b84 100644
--- a/pkgs/development/python-modules/werkzeug/default.nix
+++ b/pkgs/development/python-modules/werkzeug/default.nix
@@ -1,21 +1,23 @@
 { stdenv, buildPythonPackage, fetchPypi
-, itsdangerous
+, itsdangerous, hypothesis
 , pytest, requests, glibcLocales }:
 
 buildPythonPackage rec {
   name = "${pname}-${version}";
   pname = "Werkzeug";
-  version = "0.12.2";
+  version = "0.13";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "09mv4cya3lywkn4mi3qrqmjgwiw99kdk03dk912j8da6ny3pnflh";
+    sha256 = "6246e5fc98a505824113fb6aca993d45ea284a2bcffdc2c65d0c538e53e4abd3";
   };
 
-  LC_ALL = "en_US.UTF-8";
-
   propagatedBuildInputs = [ itsdangerous ];
-  buildInputs = [ pytest requests glibcLocales ];
+  checkInputs = [ pytest requests glibcLocales hypothesis ];
+
+  checkPhase = ''
+    LC_ALL="en_US.UTF-8" py.test
+  '';
 
   meta = with stdenv.lib; {
     homepage = http://werkzeug.pocoo.org/;