gnu: Add ruby-monetize.

* gnu/packages/ruby.scm (ruby-monetize): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
Stephen Paul Weber 2022-05-10 11:56:07 -04:00 committed by Raghav Gururajan
parent dba78c32a7
commit b9365c163d
No known key found for this signature in database
GPG key ID: 5F5816647F8BE551

View file

@ -12576,3 +12576,28 @@ (define-public ruby-money
@item Provides APIs for exchanging money from one currency to another. @item Provides APIs for exchanging money from one currency to another.
@end itemize") @end itemize")
(license license:expat))) (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)))