diff options
author | Christopher Baines <mail@cbaines.net> | 2018-09-29 11:28:28 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-10-05 21:25:42 +0100 |
commit | 4d372cb9a27b57664112b76e6a209b713abd1d10 (patch) | |
tree | 832635103cec3891fe616a65a6296fa9d3483b22 | |
parent | 2c7cb711e938ff9e358ffb274ea2f96ae84fc1e9 (diff) |
gnu: Add ruby-mathn.
* gnu/packages/ruby.scm (ruby-mathn): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a0fe0c2e98..e54b1a0f69 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5108,6 +5108,29 @@ are doing, you can fiddle with every last bit of your email directly.") (home-page "https://github.com/mikel/mail") (license license:expat))) +(define-public ruby-mathn + (package + (name "ruby-mathn") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mathn" version)) + (sha256 + (base32 + "1wn812llln9jzgybz2d7536q39z3gi99i6fi0j1dapcpzvhgrr0p")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rake-compiler" ,ruby-rake-compiler))) + (synopsis "Extends math operations for increased precision") + (description + "This gem makes mathematical operations more precise in Ruby and +integrates other mathematical standard libraries. Prior to Ruby 2.5, +@code{mathn} was part of the Ruby standard library.") + (home-page "https://github.com/ruby/mathn") + (license license:bsd-2))) + (define-public ruby-code-statistics (package (name "ruby-code-statistics") |