From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 05:46:10 2020 Received: (at submit) by debbugs.gnu.org; 12 May 2020 09:46:10 +0000 Received: from localhost ([127.0.0.1]:54177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYRUH-0006H5-2F for submit@debbugs.gnu.org; Tue, 12 May 2020 05:46:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:51676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYQYt-0004jE-Lw for submit@debbugs.gnu.org; Tue, 12 May 2020 04:46:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYQYt-0006IV-DS for guix-patches@gnu.org; Tue, 12 May 2020 04:46:51 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jYQYs-0002gm-2O for guix-patches@gnu.org; Tue, 12 May 2020 04:46:51 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589273206; cv=none; d=zohomail.com; s=zohoarc; b=QGoQ6hcO/dVIM8QqDewfg8Cy9HfB3Aq5s92oJ8T4dJ/V/Vgqa7nJKbs8t9h2AErApzv1WRpldgYO2orqDgeUNYbsz5j5QdOlA5OO6Vj6NV9y3e0Asx8UnaF/tktHblb7vCjsuN91JDT7TaQM+b+9gB3TTSgIlyzd7RnBe/7k3dI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589273206; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=8VftWLPXnXE0uImPqNwB2G3I/Tk1mHDJNmwU5SRcYWA=; b=RQUdUNuu8b7m2fs4i+OCwudUaj2Z2H7/hPlNQNg7Z0YY0UmMlqF/T3bOJb8NvZMeLu2ovKV0auv6dKwp9fbKIZChg4GgHNGodhdi7DyoBMKFHsxQDJlo7kzd+OJTA7ujI5HhWqTqDJt2ygqm5QfNZ2eu8TgbAk8SaJ8ItOUNdvI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589273206; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=8VftWLPXnXE0uImPqNwB2G3I/Tk1mHDJNmwU5SRcYWA=; b=KUKzj0dWYjiGrOZBciyMLBBpqiUh0ImP9xgCqWm4aeZHx296QtdU16a6MwpPlOcD 8Ok5/Ig5/lSy8Rnc72xhecSfZBD4yUAwYaI3viwwp81/6gWp97eJ1IVEjupx7m16+ak iezRJ7AtuKJlemVrj5ERnlJfBC7rDaCBHnsSKQKU= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1589273204624622.2569352409729; Tue, 12 May 2020 01:46:44 -0700 (PDT) User-agent: mu4e 1.4.4; emacs 26.3 From: Edouard Klein To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-websockets Message-ID: <87eerpilqx.fsf@alice.lan> Date: Tue, 12 May 2020 10:46:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 04:46:46 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 12 May 2020 05:46:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --- gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6d48b0146a..9be92053b1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -36,6 +36,7 @@ ;;; Copyright =C2=A9 2020 Alexandros Theodotou ;;; Copyright =C2=A9 2020 Holger Peters ;;; Copyright =C2=A9 2020 Noisytoot +;;; Copyright =C2=A9 2020 Edouard Klein ;;; ;;; This file is part of GNU Guix. ;;; @@ -3721,3 +3722,27 @@ and serve updated contents upon changes to the direc= tory.") (description "@code{VF-1} is a command line gopher client with @acronym{TLS, Transport Layer Security} support.") (license license:bsd-2))) + +(define-public python-websockets + (package + (name "python-websockets") + (version "8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "websockets" version)) + (sha256 + (base32 + "03s3ml6sbki24aajllf8aily0xzrn929zxi84p50zkkbikdd4raw")))) + (build-system python-build-system) + (home-page + "https://github.com/aaugustin/websockets") + (synopsis + "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)") + (description + "@code{websockets} is a library for building WebSocket servers and cl= ients +in Python with a focus on correctness and simplicity. + +Built on top of @code{asyncio}, Python's standard asynchronous I/O framewo= rk, +it provides an elegant coroutine-based API.") + (license license:bsd-3))) --=20 2.26.2