From patchwork Thu Mar 9 17:27:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47828 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 5BAED16E46; Thu, 9 Mar 2023 17:28:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3A57916E43 for ; Thu, 9 Mar 2023 17:28:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paK3s-0005eh-1N; Thu, 09 Mar 2023 12:28:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paK3i-0005Ob-0y for guix-patches@gnu.org; Thu, 09 Mar 2023 12:28:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paK3e-0006OV-83 for guix-patches@gnu.org; Thu, 09 Mar 2023 12:28:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paK3d-0008Kf-UA for guix-patches@gnu.org; Thu, 09 Mar 2023 12:28:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62085] [PATCH] gnu: Add python-mohawk. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Mar 2023 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62085 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62085@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167838284431941 (code B ref -1); Thu, 09 Mar 2023 17:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2023 17:27:24 +0000 Received: from localhost ([127.0.0.1]:53024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paK32-0008J6-1b for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:27:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:56982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paK2z-0008Iy-IO for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:27:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paK2z-0004Y7-2Y for guix-patches@gnu.org; Thu, 09 Mar 2023 12:27:21 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paK2w-0006JO-5R for guix-patches@gnu.org; Thu, 09 Mar 2023 12:27:19 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 001B64453B for ; Thu, 9 Mar 2023 18:27:16 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Boxp8QjsyzQp for ; Thu, 9 Mar 2023 18:27:15 +0100 (CET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678382835; bh=M70TqLW5S5j1vMzQVnLVpCjfJIUJcozMTy0NbYtk4sM=; h=Date:To:From:Subject; b=aBAQapGw/ubrr1/xA3VEp7P9Z77ipDNrDOrbIpZ1KuZZfZZkXMeHRs/HLk+WkCHbt ZUDMbyLD+pR4POZUj1ay3kGas2lIy2stxh6/sTEhbCYX4BUnhrSVVBD0IL3itg2nLy E01FF+NaXKkkxKbHRoTCWxiqvwY38KilA18wO8iuxXDHYEkylHNwWYTyG0xaE+wSKf ZopqoKmen4GSQV0Z8tRlrfn6QwiLcSl0VR34WF3WIJNXJDzED22YafYdPXllVDi92o PpFah1Vl5VYrG2Wz2a+GTy2j9GFlz01odjZs4a45PUFo8mvdeuaEvdl/ylb/Zv9XoK lECrjRi8SjOww== Date: Fri, 10 Mar 2023 01:27:12 +0800 MIME-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 705c878397db8683c40ba8b9f37be525e8208d88 Mon Sep 17 00:00:00 2001 Message-Id: <705c878397db8683c40ba8b9f37be525e8208d88.1678382603.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Fri, 10 Mar 2023 00:35:43 +0800 Subject: [PATCH] gnu: Add python-mohawk. * gnu/packages/python-web.scm (python-mohawk): New variable. --- gnu/packages/python-web.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8a73c929a1..b8354f9799 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1588,6 +1588,28 @@ (define-public python-minio Amazon S3 compatible object storage server.") (license license:asl2.0))) +(define-public python-mohawk + (package + (name "python-mohawk") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "mohawk" version)) + (sha256 + (base32 + "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j")))) + (build-system python-build-system) + (native-inputs + (list python-mock + python-nose)) + (propagated-inputs + (list python-six)) + (home-page "https://github.com/kumar303/mohawk") + (synopsis "Library for Hawk HTTP authorization") + (description "Mohawk is an alternate Python implementation +of the Hawk HTTP authorization scheme.") + (license license:bsd-3))) + (define-public python-pycurl (package (name "python-pycurl")