gnu: Add ruby-cmath.

* gnu/packages/ruby.scm (ruby-cmath): New variable.
This commit is contained in:
Mathieu Othacehe 2021-09-18 12:58:23 +02:00
parent b7a5641ad7
commit ac6914ca7d
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -12450,3 +12450,28 @@ (define-public ruby-taskjuggler
management, status tracking and reporting.")
(home-page "https://taskjuggler.org")
(license license:gpl2)))
(define-public ruby-cmath
(package
(name "ruby-cmath")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "cmath" version))
(sha256
(base32
"1xkz6xyhpkjbdvpdib8450w62rls1mjryz0gzbbnadxkxn82nb8m"))))
(build-system ruby-build-system)
(arguments
`(#:tests? #false))
(native-inputs
`(("bundler" ,bundler)
("ruby-rake-compiler" ,ruby-rake-compiler)))
(synopsis "Trigonometric functions for complex numbers")
(description
"This gem is a library that provides trigonometric and transcendental
functions for complex numbers. The functions in this module accept integers,
floating-point numbers or complex numbers as arguments.")
(home-page "https://github.com/ruby/cmath")
(license license:bsd-2)))