From: Stephen Paul Weber <singpolyma@singpolyma.net>
To: 50537@debbugs.gnu.org
Cc: Stephen Paul Weber <singpolyma@singpolyma.net>, rg@raghavgururajan.name
Subject: [bug#50537] [PATCH v2 18/27] gnu: Add ruby-money-open-exchange-rates.
Date: Wed, 27 Apr 2022 13:46:24 -0500 [thread overview]
Message-ID: <20220427184633.94169-18-singpolyma@singpolyma.net> (raw)
In-Reply-To: <20220427184633.94169-1-singpolyma@singpolyma.net>
* gnu/packages/ruby.scm (ruby-money-open-exchange-rates): New variable.
---
gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0d9214bae1..100f9fd1ad 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12697,3 +12697,38 @@ Money objects.")
(home-page
"https://github.com/RubyMoney/monetize")
(license license:expat)))
+
+(define-public ruby-money-open-exchange-rates
+ (package
+ (name "ruby-money-open-exchange-rates")
+ (version "1.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/spk/money-open-exchange-rates")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11xwqli8snr19k48yh8h77sal5vxd4snzq9gxg08v61f0574m3gw"))))
+ (build-system ruby-build-system)
+ (propagated-inputs `(("ruby-money" ,ruby-money)))
+ (native-inputs
+ `(("ruby-minitest" ,ruby-minitest)
+ ("ruby-mocha" ,ruby-mocha)
+ ("ruby-timecop" ,ruby-timecop)
+ ("ruby-webmock" ,ruby-webmock)
+ ("ruby-monetize" ,ruby-monetize)
+ ("ruby-rake" ,ruby-rake)
+ ("ruby-rubocop" ,ruby-rubocop)))
+ (synopsis
+ "Calculates the exchange rate using published rates from open-exchange-rates")
+ (description
+ "This package provides a gem that calculates the exchange rate using
+published rates from open-exchange-rates. Compatible with the money gem.")
+ (home-page
+ "https://github.com/spk/money-open-exchange-rates")
+ (license license:expat)))
--
2.30.2
next prev parent reply other threads:[~2022-04-27 18:48 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-12 3:02 [bug#50537] [PATCH] Add several new ruby gems to Guix Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 02/27] gnu: Add ruby-niceogiri Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 03/27] gnu: Add ruby-countdownlatch Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 04/27] gnu: Add ruby-blather Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 05/27] gnu: Add ruby-braintree Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 06/27] gnu: Add ruby-value-semantics Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 07/27] gnu: Add ruby-promise.rb Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 08/27] gnu: Add ruby-multicodecs Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 09/27] gnu: Add ruby-multihashes Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 10/27] gnu: Add ruby-lazy-object Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 11/27] gnu: Add ruby-citrus Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 12/27] gnu: Add ruby-cbor Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 13/27] gnu: Add ruby-gem-release Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 14/27] gnu: Add ruby-base32 Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 15/27] gnu: Add ruby-dhall Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 16/27] gnu: Add ruby-money Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 17/27] gnu: Add ruby-monetize Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 18/27] gnu: Add ruby-money-open-exchange-rates Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 19/27] gnu: Add ruby-roda Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 20/27] gnu: Add ruby-nori Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 21/27] gnu: Add ruby-faraday-middleware Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 22/27] gnu: Add ruby-bandwidth-iris Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 23/27] gnu: Add ruby-sentry-core Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 24/27] gnu: Add ruby-sentry Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 25/27] gnu: Add ruby-webrick Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 26/27] gnu: Add ruby-interception Stephen Paul Weber
2021-09-12 3:05 ` [bug#50537] [PATCH 27/27] gnu: Add ruby-pry-rescue Stephen Paul Weber
2022-04-27 16:12 ` [bug#50537] [PATCH] Add several new ruby gems to Guix Raghav Gururajan via Guix-patches via
2022-04-27 17:37 ` jgart via Guix-patches via
2022-04-27 18:46 ` [bug#50537] [PATCH v2 01/27] gnu: Add ruby-sucker-punch Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 02/27] gnu: Add ruby-niceogiri Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 03/27] gnu: Add ruby-countdownlatch Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 04/27] gnu: Add ruby-blather Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 05/27] gnu: Add ruby-braintree Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 06/27] gnu: Add ruby-value-semantics Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 07/27] gnu: Add ruby-promise.rb Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 08/27] gnu: Add ruby-multicodecs Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 09/27] gnu: Add ruby-multihashes Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 10/27] gnu: Add ruby-lazy-object Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 11/27] gnu: Add ruby-citrus Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 12/27] gnu: Add ruby-cbor Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 13/27] gnu: Add ruby-gem-release Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 14/27] gnu: Add ruby-base32 Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 15/27] gnu: Add ruby-dhall Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 16/27] gnu: Add ruby-money Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 17/27] gnu: Add ruby-monetize Stephen Paul Weber
2022-04-27 18:46 ` Stephen Paul Weber [this message]
2022-04-27 18:46 ` [bug#50537] [PATCH v2 19/27] gnu: Add ruby-roda Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 20/27] gnu: Add ruby-nori Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 21/27] gnu: Add ruby-faraday-middleware Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 22/27] gnu: Add ruby-bandwidth-iris Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 23/27] gnu: Add ruby-sentry-core Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 24/27] gnu: Add ruby-sentry Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 25/27] gnu: Add ruby-webrick Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 26/27] gnu: Add ruby-interception Stephen Paul Weber
2022-04-27 18:46 ` [bug#50537] [PATCH v2 27/27] gnu: Add ruby-pry-rescue Stephen Paul Weber
2022-07-02 16:04 ` bug#50537: [PATCH] Add several new ruby gems to Guix Raghav Gururajan via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220427184633.94169-18-singpolyma@singpolyma.net \
--to=singpolyma@singpolyma.net \
--cc=50537@debbugs.gnu.org \
--cc=rg@raghavgururajan.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).