summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2022-05-10 11:56:07 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2022-05-10 22:15:14 -0400
commitb9365c163d53d28072ad27cc353d224b9df7814e (patch)
treecfacac301b399fec7e8c8fb1af87bbd588cd2e1b /gnu/packages/ruby.scm
parentdba78c32a7ad26b1210e4471b9cb4be4d2ea74e3 (diff)
downloadguix-b9365c163d53d28072ad27cc353d224b9df7814e.tar.gz
gnu: Add ruby-monetize.
* gnu/packages/ruby.scm (ruby-monetize): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index cda56bf6d6..78579c01f4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12576,3 +12576,28 @@ flexibility.
 @item Provides APIs for exchanging money from one currency to another.
 @end itemize")
     (license license:expat)))
+
+(define-public ruby-monetize
+  (package
+    (name "ruby-monetize")
+    (version "1.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "monetize" version))
+        (sha256
+          (base32 "0cna2myxdbwfq0gn6k2hgrh368dq7wld3jklm96443ysykd0difn"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "spec"))
+    (native-inputs
+     (list
+      ruby-rspec))
+    (propagated-inputs
+     (list
+      ruby-money))
+    (home-page "https://github.com/RubyMoney/monetize")
+    (synopsis "Convert various objects into Money objects")
+    (description "Monetize provides a library for converting various objects
+into Money objects.")
+    (license license:expat)))