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 faBCNGKSOV9UGgAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 20:09:06 +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 oItyL2KSOV86EgAAbx9fmQ (envelope-from ) for ; Sun, 16 Aug 2020 20:09:06 +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 800D59402A0 for ; Sun, 16 Aug 2020 20:09:06 +0000 (UTC) Received: from localhost ([::1]:45272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7Oxl-0002VC-HE for larch@yhetil.org; Sun, 16 Aug 2020 16:09:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Oxi-0002V0-3d for guix-patches@gnu.org; Sun, 16 Aug 2020 16:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7Oxh-0000ef-R9 for guix-patches@gnu.org; Sun, 16 Aug 2020 16:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7Oxh-000514-ML for guix-patches@gnu.org; Sun, 16 Aug 2020 16:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42894] [PATCH 4/4] gnu: Add python-hypercorn. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Aug 2020 20:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42894@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 42894-submit@debbugs.gnu.org id=B42894.159760849019197 (code B ref 42894); Sun, 16 Aug 2020 20:09:01 +0000 Received: (at 42894) by debbugs.gnu.org; 16 Aug 2020 20:08:10 +0000 Received: from localhost ([127.0.0.1]:58613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Ows-0004zY-7p for submit@debbugs.gnu.org; Sun, 16 Aug 2020 16:08:10 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Owo-0004yn-NU for 42894@debbugs.gnu.org; Sun, 16 Aug 2020 16:08:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F27DA2400FC for <42894@debbugs.gnu.org>; Sun, 16 Aug 2020 22:08:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1597608481; bh=wcrFFyoh4/t4VdFkRCeDq5uAqEVQSeciwAT6zTp9vTo=; h=From:To:Cc:Subject:Date:From; b=qgaVSyJVweEQ1NgAzW/qApRm0IgufpQZli8iBBY26uSApGb2iRk672a0TnNCPsKYD csZC4ddyHrzgwdQDwdB1C/dwSoi/ihfzqzI2gNCdCGpaPDe+U+On1bxPjDjiyMQw4s wErDZu6hk5gP3XArkjqQkKv7SMFyKniiwZSyOHPYsqLgpXfHuBTmkLEcG2kzObgeJu FbDB0F/YcEzYI42jbuoq56kqtix/qWJX1b8rI/X1Kn8yGWZaVXSp+VN1yApRhKfTqe jcho2R8KllItf5TFgrhHzDTRRSHHdPbMnGOIhDICkLZ5Q4uOhDZjoVa5n8kzhgT97M pwmxmY8wASatw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BV7Wz4dc7z9rxQ; Sun, 16 Aug 2020 22:07:59 +0200 (CEST) From: Vinicius Monego Date: Sun, 16 Aug 2020 17:07:26 -0300 Message-Id: <20200816200726.1998-3-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200816200726.1998-1-monego@posteo.net> References: <20200816200726.1998-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=qgaVSyJV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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-Spam-Score: 5.09 X-TUID: WajCKedTY5IU * gnu/packages/python-web.scm (python-hypercorn): New variable. --- gnu/packages/python-web.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d6d3b733de..59b2d196a8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1059,6 +1059,49 @@ choose to use, ensuring that you can communicate via WebSockets, as defined in RFC6455, regardless of your programming paradigm.") (license license:expat))) +(define-public python-hypercorn + (package + (name "python-hypercorn") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Hypercorn" version)) + (sha256 + (base32 "15dgy47a18w2ls3hwykra1cyf7yzxmfjqnsqml482p12cxr2xwqr")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (propagated-inputs + `(("python-h11" ,python-h11) + ("python-h2" ,python-h2) + ("python-priority" ,python-priority) + ("python-toml" ,python-toml) + ("python-typing-extensions" + ,python-typing-extensions) + ("python-wsproto" ,python-wsproto))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-pytest-asyncio" ,python-pytest-asyncio) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-trio" ,python-pytest-trio) + ("python-trio" ,python-trio))) + (home-page "https://gitlab.com/pgjones/hypercorn/") + (synopsis "ASGI Server based on Hyper libraries") + (description + "Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and +wsproto libraries and inspired by Gunicorn. It supports HTTP/1, HTTP/2, +WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It can +utilise asyncio, uvloop, or trio worker types.") + (license license:expat))) + (define-public python-tornado (package (name "python-tornado") -- 2.20.1