python3Packages.websockets: 7.0 -> 8.0.2

This commit is contained in:
Jonathan Ringer 2019-09-16 13:24:14 -07:00
parent a41a49aa64
commit 9b092e228b

View File

@ -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;
};
}