From patchwork Wed Apr 27 18:46:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 38962 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 445E727BBE9; Wed, 27 Apr 2022 19:48:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 E327227BBEA for ; Wed, 27 Apr 2022 19:48:48 +0100 (BST) Received: from localhost ([::1]:58986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njmiW-0008TA-16 for patchwork@mira.cbaines.net; Wed, 27 Apr 2022 14:48:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njmho-0007cB-32 for guix-patches@gnu.org; Wed, 27 Apr 2022 14:48:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njmhn-0005E1-P5 for guix-patches@gnu.org; Wed, 27 Apr 2022 14:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njmhn-0005Jp-N4 for guix-patches@gnu.org; Wed, 27 Apr 2022 14:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50537] [PATCH v2 21/27] gnu: Add ruby-faraday-middleware. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 18:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50537@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50537-submit@debbugs.gnu.org id=B50537.165108524420148 (code B ref 50537); Wed, 27 Apr 2022 18:48:03 +0000 Received: (at 50537) by debbugs.gnu.org; 27 Apr 2022 18:47:24 +0000 Received: from localhost ([127.0.0.1]:44386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmh9-0005En-Uv for submit@debbugs.gnu.org; Wed, 27 Apr 2022 14:47:24 -0400 Received: from singpolyma.net ([192.99.233.116]:59123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmgX-00058b-CS for 50537@debbugs.gnu.org; Wed, 27 Apr 2022 14:46:47 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 290FC486184C; Wed, 27 Apr 2022 18:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1651085205; bh=wMBFTI2ryd1aaI+b/PK0jjZSCzjjyMRQgnB0LEcbbWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RplFzimxIMemzXzrd10H0/LSzQLBUDcFCcUB1Y+zMVi6TxRwnflRSpkQzSl95rJYX g6RNyAUEjpQ94s8WBrCUPCtEiLZya0M50i43sDdzXOYMn+DpfZipR5302O7e4e0LLs zMEcSj/S4q1B/Vkivac9exP+zbFWI6Tjod8ka+2M= From: Stephen Paul Weber Date: Wed, 27 Apr 2022 13:46:27 -0500 Message-Id: <20220427184633.94169-21-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220427184633.94169-1-singpolyma@singpolyma.net> References: <20220427184633.94169-1-singpolyma@singpolyma.net> MIME-Version: 1.0 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/ruby.scm (ruby-faraday-middleware): New variable. --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 62f2bbb97f..d9cbd84e66 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12777,3 +12777,26 @@ published rates from open-exchange-rates. Compatible with the money gem.") (description "XML to Hash translator") (home-page "https://github.com/savonrb/nori") (license license:expat))) + +(define-public ruby-faraday-middleware + (package + (name "ruby-faraday-middleware") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "faraday_middleware" version)) + (sha256 + (base32 + "0kgcphf7n74l3wlcvxafcp6a4l18b1bf4qslvz5dqj6v3gc8h8j4")))) + (build-system ruby-build-system) + (arguments + ;; No rakefile + `(#:tests? #f)) + (propagated-inputs + `(("ruby-faraday" ,ruby-faraday))) + (synopsis "Various middleware for Faraday") + (description "Various middleware for Faraday") + (home-page + "https://github.com/lostisland/faraday_middleware") + (license license:expat)))