25 lines
501 B
Nix
Raw Normal View History

2016-12-14 19:10:14 +01:00
{ lib
, fetchPypi
2016-12-14 19:10:14 +01:00
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
2016-12-14 19:10:14 +01:00
pname = "websockets";
2018-06-12 18:47:08 +02:00
version = "5.0.1";
2016-12-14 19:10:14 +01:00
src = fetchPypi {
inherit pname version;
2018-06-12 18:47:08 +02:00
sha256 = "a49d315db5a7a19d55422e1678e8a1c3b9661d7296bef3179fa620cf80b12674";
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;
};
}