diff mbox series

[bug#50537,v2,16/27] gnu: Add ruby-money.

Message ID 20220427184633.94169-16-singpolyma@singpolyma.net
State Accepted
Headers show
Series [bug#50537,v2,01/27] gnu: Add ruby-sucker-punch | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Stephen Paul Weber April 27, 2022, 6:46 p.m. UTC
* gnu/packages/ruby.scm (ruby-money): New variable.
---
 gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3c4d62dd3c..603ca69edc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12647,3 +12647,27 @@  For more information, see: https://dhall-lang.org")
     (home-page
       "https://git.sr.ht/~singpolyma/dhall-ruby")
     (license license:gpl3)))
+
+(define-public ruby-money
+  (package
+    (name "ruby-money")
+    (version "6.16.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "money" version))
+        (sha256
+          (base32
+            "0jkmsj5ymadik7bvl670bqwmvhsdyv7hjr8gq9z293hq35gnyiyg"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No rakefile
+     `(#:tests? #f))
+    (propagated-inputs `(("ruby-i18n" ,ruby-i18n)))
+    (synopsis
+      "Ruby Library for dealing with money and currency conversion")
+    (description
+      "This package provides a Ruby Library for dealing with money and
+currency conversion.")
+    (home-page "https://rubymoney.github.io/money/")
+    (license license:expat)))