From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ICfeJcaPaWJRzAAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 20:47:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qK05JcaPaWK5UAEAG6o9tA (envelope-from ) for ; Wed, 27 Apr 2022 20:47:34 +0200 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 4314AE28B for ; Wed, 27 Apr 2022 20:47:34 +0200 (CEST) Received: from localhost ([::1]:56904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njmhJ-0006hk-Fi for larch@yhetil.org; Wed, 27 Apr 2022 14:47:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njmgr-0005wl-Lx for guix-patches@gnu.org; Wed, 27 Apr 2022 14:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njmgq-00052F-JY for guix-patches@gnu.org; Wed, 27 Apr 2022 14:47:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njmgq-0005Cj-I7 for guix-patches@gnu.org; Wed, 27 Apr 2022 14:47:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50537] [PATCH v2 05/27] gnu: Add ruby-braintree. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 18:47:04 +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.165108522019916 (code B ref 50537); Wed, 27 Apr 2022 18:47:04 +0000 Received: (at 50537) by debbugs.gnu.org; 27 Apr 2022 18:47:00 +0000 Received: from localhost ([127.0.0.1]:44349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmgl-0005B4-RF for submit@debbugs.gnu.org; Wed, 27 Apr 2022 14:47:00 -0400 Received: from singpolyma.net ([192.99.233.116]:47623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmgU-00057Z-Tz for 50537@debbugs.gnu.org; Wed, 27 Apr 2022 14:46:44 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id A9452486183C; Wed, 27 Apr 2022 18:46:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1651085202; bh=6i4SNskMXEMloesM3v/UruY99pbLjIWhqRRQgff3qf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=djssuGpqIF3jsyoxJXBfccoFbUWvKRLgVwhoFtpMk2gWom/2qKGE1iELOnDDL8SUE SfHMXXrOdgakhFhxVXZgIISUEHh8KuyYWhf4h4o3ypWJZKThXOX0A0+RL2y7NDlshB +JEzAoYsR4mukjAgZ5qyEJUrjU9klZmKS9rpCb+8= From: Stephen Paul Weber Date: Wed, 27 Apr 2022 13:46:11 -0500 Message-Id: <20220427184633.94169-5-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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651085254; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NKWPG2d4uRX7t/UeXuxUfW53I2RkXqo2/XHHzMjlHGI=; b=FSaLodNrQS46f7iqt1PwCdlTQ8za89YAzMr4TfC2GeK2dcTl0AeFpqnMsOzmxoF+qlFlKU 3+53APKDM/JZTTsq4VSy58otfjqXBcJoman1GIkBlf/Z5MkNgnlGMdCQtCIGZ/wuHZ3++I 6bvxawGofJ2ZNR3/rRIp39YbqofvDg9FzBo7uNWQ6BhrPQ+3rnpMT5FL+Sh5QiSBLtf0hG eHZJdESKs2E/LOI6kTxgfu1RnHFZ3Ld/+n8ucPyMA/KNe5/GCJeMHydOHre1/t8iCHjevx bZar7G9nlXkUjKC/0kZDMnBFxlgNd/9khMV8LhTYMWPz0lf/sj2f66KGhh8aMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651085254; a=rsa-sha256; cv=none; b=EGVSFNx8zOJ03b0mDo4bpg7F775ZYpz3fLqgrNpsH92K2M6fGakbEIRn0DiCHan7SjfWHV /2AAlkMzqcpDGKb/GZhjzs8T6bN3oQ23yt+HvsP3xo7JwepzTq6funJxOW4a8JyNxWo3Vi 66zDUzKHI2dOxxVd1urzpEq+EWORXBdt9bmzmueL97DygOR7eatm3AenNkQZjjYtYtPa+i hp/xgCuB+53PBLesBasEoroLaZSQ9nHwx7M4Wd5BSLmZtR8vADkLcc64bkXs/LEx0kRHBX wVIXXGIiiq4ETrSYvF/wnC4KmOuZjW5nfv9ifQMdTih7Wig6JwmwEPmUM53efg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=djssuGpq; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=djssuGpq; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4314AE28B X-Spam-Score: 7.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: IAAgBHbwfXjg * gnu/pacakges/ruby.scm (ruby-braintree): New variable. --- gnu/packages/ruby.scm | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 34d5a22908..f9edb4ac3f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12345,3 +12345,49 @@ completes") "XMPP DSL for Ruby written on top of EventMachine and Nokogiri") (home-page "https://github.com/adhearsion/blather") (license license:expat))) + +(define-public ruby-braintree + (package + (name "ruby-braintree") + (version "4.4.0") + (source + (origin + (method git-fetch) + ;; Download from GitHub because the rubygems version does not contain + ;; Rakefile. + (uri (git-reference + (url "https://github.com/braintree/braintree_ruby") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0dzf26yhmlf65464nranvqg5rzhrc8gfaqbg3p4ld3abz8ccnw08")))) + (build-system ruby-build-system) + (arguments + `(#:test-target "test:unit" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'less-strict-dependencies + (lambda _ + (substitute* "Gemfile" + (("gem \"libxml-ruby\", \"3.2.0\"") "gem \"libxml-ruby\", \"~> 3.0.0\"") + (("gem \"rspec\", \"3.9.0\"") "gem \"rspec\", \"~> 3.8.0\"") + (("gem \"rubocop\", \"~>1.12.0\"") "gem \"rubocop\", \"~> 1.10.0\"")) + #t))))) + (propagated-inputs + `(("ruby-builder" ,ruby-builder) + ("ruby-rexml" ,ruby-rexml))) + (native-inputs + `(("ruby-rspec" ,ruby-rspec) + ("ruby-libxml" ,ruby-libxml) + ("ruby-pry" ,ruby-pry) + ("ruby-rake" ,ruby-rake) + ("ruby-webrick" ,ruby-webrick) + ("ruby-rubocop" ,ruby-rubocop))) + (synopsis + "Resources and tools integrating Braintree's global payments platform") + (description + "Resources and tools for developers to integrate Braintree's global +payments platform.") + (home-page "https://www.braintreepayments.com/") + (license license:expat))) -- 2.30.2