2016-12-14 19:10:14 +01:00
|
|
|
{ lib
|
2018-06-23 15:27:58 +02:00
|
|
|
, fetchPypi
|
2016-12-14 19:10:14 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
buildPythonPackage rec {
|
2016-12-14 19:10:14 +01:00
|
|
|
pname = "websockets";
|
2018-11-09 00:57:33 +01:00
|
|
|
version = "7.0";
|
2016-12-14 19:10:14 +01:00
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 00:57:33 +01:00
|
|
|
sha256 = "17vwr6sa1y3lb24wzfyyc98c5v03di4j8f24qkqa9vsvaghc7qq8";
|
2016-12-14 19:10:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.3";
|
|
|
|
doCheck = false; # protocol tests fail
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "WebSocket implementation in Python 3";
|
|
|
|
homepage = https://github.com/aaugustin/websockets;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|