2016-12-14 18:10:14 +00:00
|
|
|
{ lib
|
2018-06-23 14:27:58 +01:00
|
|
|
, fetchPypi
|
2016-12-14 18:10:14 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
buildPythonPackage rec {
|
2016-12-14 18:10:14 +00:00
|
|
|
pname = "websockets";
|
2018-07-22 11:24:00 +01:00
|
|
|
version = "6.0";
|
2016-12-14 18:10:14 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:24:00 +01:00
|
|
|
sha256 = "8f3b956d11c5b301206382726210dc1d3bee1a9ccf7aadf895aaf31f71c3716c";
|
2016-12-14 18:10:14 +00: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;
|
|
|
|
};
|
|
|
|
}
|