me
/
guix
Archived
1
0
Fork 0

gnu: Add ruby-monetize.

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

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
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
1 changed files with 25 additions and 0 deletions

View File

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