guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add ruby-cmath.


From: guix-commits
Subject: 01/02: gnu: Add ruby-cmath.
Date: Sat, 18 Sep 2021 07:01:54 -0400 (EDT)

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

commit ac6914ca7d1c489fb295db784bd251a9e2426c7b
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sat Sep 18 12:58:23 2021 +0200

    gnu: Add ruby-cmath.
    
    * gnu/packages/ruby.scm (ruby-cmath): New variable.
---
 gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b07291b..7eee1df 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12450,3 +12450,28 @@ resource assignment, cost and revenue planning, risk 
and communication
 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]