* [PATCH] Add openspecfun.
@ 2015-03-09 10:28 Ricardo Wurmus
2015-03-10 20:35 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-03-09 10:28 UTC (permalink / raw)
To: Guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-openspecfun.patch --]
[-- Type: text/x-patch, Size: 2384 bytes --]
From e9116312279d1ad626c0a64001ce44ec47140fc4 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Mon, 9 Mar 2015 11:27:52 +0100
Subject: [PATCH] gnu: Add openspecfun.
* gnu/packages/maths.scm (openspecfun): New variable.
---
gnu/packages/maths.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index fe2543d..deffff0 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1034,6 +1034,43 @@ environments.")
;; are under the LGPL."
(license (list license:expat license:isc license:bsd-2 license:lgpl2.1+))))
+(define-public openspecfun
+ (package
+ (name "openspecfun")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/JuliaLang/openspecfun/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nsa3jjmlhcqkw5ba5ypbn3n0c8b6lc22zzlxnmxkxi9shhdx65z"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ;no "check" target
+ #:make-flags
+ (list (string-append "prefix=" (assoc-ref %outputs "out")))
+ ;; no configure script
+ #:phases (alist-delete 'configure %standard-phases)))
+ (inputs
+ `(("fortran" ,gfortran-4.8)))
+ (home-page "https://github.com/JuliaLang/openspecfun")
+ (synopsis "Collection of special mathematical functions")
+ (description
+ "Openspecfun provides AMOS and Faddeeva. AMOS (from Netlib) is a
+portable package for Bessel Functions of a Complex Argument and Nonnegative
+Order; it contains subroutines for computing Bessel functions and Airy
+functions. Faddeeva allows computing the various error functions of arbitrary
+complex arguments (Faddeeva function, error function, complementary error
+function, scaled complementary error function, imaginary error function, and
+Dawson function); given these, one can also easily compute Voigt functions,
+Fresnel integrals, and similar related functions as well.")
+ ;; Faddeeva is released under the Expat license; AMOS is included as
+ ;; public domain software.
+ (license (list license:expat license:public-domain))))
+
(define-public atlas
(package
(name "atlas")
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-10 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-09 10:28 [PATCH] Add openspecfun Ricardo Wurmus
2015-03-10 20:35 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.