From adc96e1db3ba97882a35240ffbaf74c9c4eec0c1 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Thu, 29 Apr 2021 16:15:52 +0000 Subject: gnu: Add libcerf. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (libcerf): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/maths.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d3656f0405..d5a94e92ab 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -39,7 +39,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Nicolò Balzarotti ;;; Copyright © 2020 B. Wilson -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Simon Tournier ;;; Copyright © 2020 Martin Becze ;;; Copyright © 2021 Gerd Heber @@ -698,6 +698,30 @@ in memory, so even problems with very large output sizes can sometimes be solved.") (license license:gpl2+))) +(define-public libcerf + (package + (name "libcerf") + (version "1.14") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://jugit.fz-juelich.de/mlz/libcerf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ic2q7kvxpqmgxlishygvx8d00i4wn51vkq4fyac44ahhf6c3kwd")))) + (build-system cmake-build-system) + (native-inputs + `(("perl" ,perl))) + (home-page "https://jugit.fz-juelich.de/mlz/libcerf") + (synopsis "Library for complex error functions") + (description + "@code{libcerf} is a self-contained numeric library that provides an +efficient and accurate implementation of complex error functions, along with +Dawson, Faddeeva, and Voigt functions.") + (license license:expat))) + (define-public vinci (package (name "vinci") -- cgit v1.2.3