mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add ruby-money-open-exchange-rates.
* gnu/packages/ruby.scm (ruby-money-open-exchange-rates): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
parent
b9365c163d
commit
57baf246e8
1 changed files with 34 additions and 0 deletions
|
@ -12601,3 +12601,37 @@ flexibility.
|
||||||
(description "Monetize provides a library for converting various objects
|
(description "Monetize provides a library for converting various objects
|
||||||
into Money objects.")
|
into Money objects.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-money-open-exchange-rates
|
||||||
|
(package
|
||||||
|
(name "ruby-money-open-exchange-rates")
|
||||||
|
(version "1.4.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
;; Download from GitHub because the rubygems version does not contain
|
||||||
|
;; Rakefile.
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/spk/money-open-exchange-rates")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "11xwqli8snr19k48yh8h77sal5vxd4snzq9gxg08v61f0574m3gw"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(native-inputs
|
||||||
|
(list
|
||||||
|
ruby-minitest
|
||||||
|
ruby-mocha
|
||||||
|
ruby-monetize
|
||||||
|
ruby-rake
|
||||||
|
ruby-rubocop
|
||||||
|
ruby-timecop
|
||||||
|
ruby-webmock))
|
||||||
|
(propagated-inputs
|
||||||
|
(list
|
||||||
|
ruby-money))
|
||||||
|
(home-page "https://spk.github.io/money-open-exchange-rates/")
|
||||||
|
(synopsis "Money open exchange rates for Ruby")
|
||||||
|
(description "This package provides a gem that calculates the exchange rate
|
||||||
|
using published rates from open-exchange-rates. Compatible with the money gem.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue