guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add ruby-monetize.


From: guix-commits
Subject: 01/02: gnu: Add ruby-monetize.
Date: Tue, 10 May 2022 22:17:37 -0400 (EDT)

raghavgururajan pushed a commit to branch master
in repository guix.

commit b9365c163d53d28072ad27cc353d224b9df7814e
Author: Stephen Paul Weber <singpolyma@singpolyma.net>
AuthorDate: Tue May 10 11:56:07 2022 -0400

    gnu: Add ruby-monetize.
    
    * gnu/packages/ruby.scm (ruby-monetize): New variable.
    
    Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
---
 gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]