Subject: [PATCH v2 1/8] gnu: Add cl-cephes.

From: jgart <[email-masked]>
Date: Sun, 15 Jan 2023 15:55:45 -0600

* gnu/packages/lisp-xyz.scm (cl-cephes, sbcl-cephes): New variables.

Hi,

Here's v2 which disables tests on ecl-special-functions.

The tests hang indefinitely:

https://github.com/Lisp-Stat/special-functions/issues/4

all best,

jgart
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 35e10b3301..2da5f7858a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26677,6 +26677,38 @@ (define-public cl-variates
 (define-public ecl-cl-variates
   (sbcl-package->ecl-package sbcl-cl-variates))
 
+(define-public sbcl-cephes
+  (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4")
+        (revision "0"))
+    (package
+      (name "sbcl-cephes")
+      (version (git-version "1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Lisp-Stat/cephes.cl")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09adls1lwwzwm1jmvhf11arwlsy5w0bi2rmniahas824mysv77lr"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+        (list sbcl-cffi))
+      (home-page "https://lisp-stat.github.io/cephes.cl/")
+      (synopsis "Common Lisp wrapper for the Cephes Mathematical Library")
+      (description
+"This package provides a common lisp CFFI wrapper for the SciPy version
+of Cephes special functions.")
+      (license license:ms-pl))))
+
+(define-public cl-cephes
+  (sbcl-package->cl-source-package sbcl-cephes))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-cephes
+  (sbcl-package->ecl-package sbcl-cephes))
+
 (define-public sbcl-seria
   (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
         (revision "0"))
-- 
2.38.1