gnu: Add ruby-mathn.

* gnu/packages/ruby.scm (ruby-mathn): New variable.
This commit is contained in:
Christopher Baines 2018-09-29 11:28:28 +01:00
parent 2c7cb711e9
commit 4d372cb9a2
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 23 additions and 0 deletions

View File

@ -5108,6 +5108,29 @@ are doing, you can fiddle with every last bit of your email directly.")
(home-page "https://github.com/mikel/mail") (home-page "https://github.com/mikel/mail")
(license license:expat))) (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 (define-public ruby-code-statistics
(package (package
(name "ruby-code-statistics") (name "ruby-code-statistics")