From patchwork Mon Jan 4 00:32:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 26196 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 A7E9627BC0B; Mon, 4 Jan 2021 00:33:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no 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 ESMTPS id 8212827BC0A for ; Mon, 4 Jan 2021 00:33:41 +0000 (GMT) Received: from localhost ([::1]:43464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwDoa-0001Sl-Gz for patchwork@mira.cbaines.net; Sun, 03 Jan 2021 19:33:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwDny-0001SR-Nt for guix-patches@gnu.org; Sun, 03 Jan 2021 19:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwDny-00067I-GT for guix-patches@gnu.org; Sun, 03 Jan 2021 19:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwDny-0002pz-E4 for guix-patches@gnu.org; Sun, 03 Jan 2021 19:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45641] [PATCH 2/6] gnu: Add ruby-patron. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Jan 2021 00:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45641@debbugs.gnu.org Received: via spool by 45641-submit@debbugs.gnu.org id=B45641.160972034910815 (code B ref 45641); Mon, 04 Jan 2021 00:33:02 +0000 Received: (at 45641) by debbugs.gnu.org; 4 Jan 2021 00:32:29 +0000 Received: from localhost ([127.0.0.1]:38925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwDnQ-0002oD-Oy for submit@debbugs.gnu.org; Sun, 03 Jan 2021 19:32:29 -0500 Received: from confino.investici.org ([212.103.72.250]:20629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwDnO-0002na-HO for 45641@debbugs.gnu.org; Sun, 03 Jan 2021 19:32:27 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4D8GmT2G3kz10yM; Mon, 4 Jan 2021 00:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1609720345; bh=5pMongoJYeXlM4XKJrKNgF5mC8XJmYK2H6oMmADVgsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E/QmDZTPLAemutmkvXijaFAOv4J4TMEergKNWHmVuDDt/HGpMARV86BEXN2ukyERp n3xcGkPUN23Vs60sOG54aPqXhPuW4qyZmw1J02ohPxWk39CfISt7utyyylzafi2qLj 3yIP2N8qExrfD0Qpq7K8WmY3fjUoFaVhPcI1IC4c= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4D8GmT14yJz10vB; Mon, 4 Jan 2021 00:32:25 +0000 (UTC) From: Giacomo Leidi Date: Mon, 4 Jan 2021 01:32:11 +0100 Message-Id: <20210104003215.8932-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210104003215.8932-1-goodoldpaul@autistici.org> References: <20210104003215.8932-1-goodoldpaul@autistici.org> 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: , Cc: Giacomo Leidi 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-patron): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f1194c4c3d..d9ff47bf03 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Holgr Peters +;;; Copyright © 2020 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,6 +50,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages rails) @@ -11785,3 +11787,28 @@ multiple adapters, various log level combinations and message formatting options.") (home-page "https://github.com/rudionrails/yell") (license license:expat))) + +(define-public ruby-patron + (package + (name "ruby-patron") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "patron" version)) + (sha256 + (base32 + "0523gddx88zql2mq6655k60gy2ac8vybpzkcf90lmd9nx7wl3fi9")))) + (build-system ruby-build-system) + (inputs `(("curl" ,curl))) + (arguments + `(#:tests? #f)) ;there are none + (synopsis + "Ruby HTTP client library based on @code{libcurl}") + (description + "Patron is a Ruby HTTP client library based on @code{libcurl}. It does +not try to expose the full \"power\" (read complexity) of @code{libcurl} but +instead tries to provide a sane API while taking advantage of @code{libcurl} +under the hood.") + (home-page "https://github.com/toland/patron") + (license license:expat)))