From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MIo5KpFwul5WFQAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 09:46:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gdaXOp9wul7hcwAAbx9fmQ (envelope-from ) for ; Tue, 12 May 2020 09:47:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8207294060B for ; Tue, 12 May 2020 09:47:09 +0000 (UTC) Received: from localhost ([::1]:39264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYRVG-0007jW-2z for larch@yhetil.org; Tue, 12 May 2020 05:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYRV8-0007jM-UF for guix-patches@gnu.org; Tue, 12 May 2020 05:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYRV8-0003HI-LQ for guix-patches@gnu.org; Tue, 12 May 2020 05:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYRV8-0006Ip-Jh for guix-patches@gnu.org; Tue, 12 May 2020 05:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41203] [PATCH] gnu: Add python-websockets Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 May 2020 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41203@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158927677024129 (code B ref -1); Tue, 12 May 2020 09:47:02 +0000 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 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-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 X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=beaver-labs.com header.s=zoho header.b=KUKzj0dW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [1.99 / 13.00]; GENERIC_REPUTATION(0.00)[-0.54004297014076]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; TO_DN_NONE(0.00)[]; ARC_REJECT(2.00)[signature check failed: fail, {[1] = sig:zohomail.com:reject}]; R_DKIM_REJECT(1.00)[beaver-labs.com:s=zoho]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[beaver-labs.com:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[edk@beaver-labs.com,guix-patches-bounces@gnu.org]; URIBL_BLOCKED(0.00)[posteo.de:email,zrythm.org:email,beaver-labs.com:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[beaver-labs.com]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 6wIcWkHFX22U --- 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