about summary refs log tree commit diff
path: root/pkgs/development/python-modules/websockets
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-09-16 13:24:14 -0700
committerJonathan Ringer <jonringer117@gmail.com>2019-09-16 13:24:14 -0700
commit9b092e228b2d9eab54c49685cddd6e30fde8eceb (patch)
tree8cb1dd1932c3e9fd820af21bee99d19bd9081390 /pkgs/development/python-modules/websockets
parenta41a49aa642f4ae4980b07cf4c3e7c5f4c82f88d (diff)
python3Packages.websockets: 7.0 -> 8.0.2
Diffstat (limited to 'pkgs/development/python-modules/websockets')
-rw-r--r--pkgs/development/python-modules/websockets/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/websockets/default.nix b/pkgs/development/python-modules/websockets/default.nix
index 2e0caae4b4697..589a8089fcaa0 100644
--- a/pkgs/development/python-modules/websockets/default.nix
+++ b/pkgs/development/python-modules/websockets/default.nix
@@ -1,24 +1,26 @@
 { lib
-, fetchPypi
+, fetchFromGitHub
 , buildPythonPackage
 , pythonOlder
+, pytest
 }:
 
 buildPythonPackage rec {
   pname = "websockets";
-  version = "7.0";
+  version = "8.0.2";
 
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "17vwr6sa1y3lb24wzfyyc98c5v03di4j8f24qkqa9vsvaghc7qq8";
+  src = fetchFromGitHub {
+    owner = "aaugustin";
+    repo = pname;
+    rev = version;
+    sha256 = "02fgb8gib4z5fqv30brz3mhxmblw9bw0978fhpjdrkj7wvqrz5h8";
   };
 
   disabled = pythonOlder "3.3";
-  doCheck = false; # protocol tests fail
 
-  meta = {
+  meta = with lib; {
     description = "WebSocket implementation in Python 3";
-    homepage = https://github.com/aaugustin/websockets;
-    license = lib.licenses.bsd3;
+    homepage = "https://github.com/aaugustin/websockets";
+    license = licenses.bsd3;
   };
 }