From patchwork Tue May 12 08:46:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Edouard Klein X-Patchwork-Id: 22029 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7DFFE27BBE1; Tue, 12 May 2020 10:47:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 89B2E27BBE3 for ; Tue, 12 May 2020 10:47:09 +0100 (BST) Received: from localhost ([::1]:39264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYRVF-0007jW-3b for patchwork@mira.cbaines.net; Tue, 12 May 2020 05:47:09 -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 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-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-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- 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 © 2020 Alexandros Theodotou ;;; Copyright © 2020 Holger Peters ;;; Copyright © 2020 Noisytoot +;;; Copyright © 2020 Edouard Klein ;;; ;;; This file is part of GNU Guix. ;;; @@ -3721,3 +3722,27 @@ and serve updated contents upon changes to the directory.") (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 clients +in Python with a focus on correctness and simplicity. + +Built on top of @code{asyncio}, Python's standard asynchronous I/O framework, +it provides an elegant coroutine-based API.") + (license license:bsd-3)))