summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-09-13 16:30:35 +0200
committerUli Baum <xeji@cat3.de>2018-09-13 16:45:27 +0200
commitabe97e9446829a8c6da9033383df23befcb8c80c (patch)
tree57c48fc1fea343103676f7183aa8cf4f78fed0db /pkgs/development/python-modules
parented7b654a21c0ffd5ddb2afc3546bbe8e0146f4ba (diff)
downloadnixlib-abe97e9446829a8c6da9033383df23befcb8c80c.tar
nixlib-abe97e9446829a8c6da9033383df23befcb8c80c.tar.gz
nixlib-abe97e9446829a8c6da9033383df23befcb8c80c.tar.bz2
nixlib-abe97e9446829a8c6da9033383df23befcb8c80c.tar.lz
nixlib-abe97e9446829a8c6da9033383df23befcb8c80c.tar.xz
nixlib-abe97e9446829a8c6da9033383df23befcb8c80c.tar.zst
nixlib-abe97e9446829a8c6da9033383df23befcb8c80c.zip
pythonPackages.daphne: 2.1.0 -> 2.2.2
Update, re-enable all tests on linux, disable tests on darwin.
This fixes the build of pythonPackages.channels
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/daphne/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/daphne/default.nix b/pkgs/development/python-modules/daphne/default.nix
index 7ead1cacfa66..258fc746e4b5 100644
--- a/pkgs/development/python-modules/daphne/default.nix
+++ b/pkgs/development/python-modules/daphne/default.nix
@@ -4,7 +4,7 @@
 }:
 buildPythonPackage rec {
   pname = "daphne";
-  version = "2.1.0";
+  version = "2.2.2";
 
   disabled = !isPy3k;
 
@@ -12,7 +12,7 @@ buildPythonPackage rec {
     owner = "django";
     repo = pname;
     rev = version;
-    sha256 = "1lbpn0l796ar77amqy8dap30zxmsn6as8y2lbmp4lk8m9awscwi8";
+    sha256 = "1pr3b7zxjp2jx31lpiy1hfyprpmyiv2kd18n8x6kh6gd5nr0dgp8";
   };
 
   nativeBuildInputs = [ pytestrunner ];
@@ -21,9 +21,10 @@ buildPythonPackage rec {
 
   checkInputs = [ hypothesis pytest pytest-asyncio ];
 
+  doCheck = !stdenv.isDarwin; # most tests fail on darwin
+
   checkPhase = ''
-    # Other tests fail, seems to be due to filesystem access
-    py.test -k "test_cli or test_utils"
+    py.test
   '';
 
   meta = with stdenv.lib; {