nixpkgs-suyu/pkgs/development/python-modules/websockets/default.nix
2018-07-26 12:43:13 +02:00

24 lines
499 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "websockets";
version = "6.0";
src = fetchPypi {
inherit pname version;
sha256 = "8f3b956d11c5b301206382726210dc1d3bee1a9ccf7aadf895aaf31f71c3716c";
};
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;
};
}