guix-patches
[Top][All Lists]
Advanced

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

[bug#60835] [PATCH 4/8] gnu: Add cl-special-functions.


From: jgart
Subject: [bug#60835] [PATCH 4/8] gnu: Add cl-special-functions.
Date: Sun, 15 Jan 2023 15:25:17 -0600

* gnu/packages/lisp-xyz.scm (cl-special-functions, ecl-special-functions,
sbcl-special-functions): New variables.
---
 gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b0fa3244d5..cbc46d6810 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26748,6 +26748,43 @@ (define-public cl-statistics
 #;(define-public ecl-statistics
   (sbcl-package->ecl-package sbcl-statistics))
 
+(define-public sbcl-special-functions
+  (let ((commit "f3ca2792ff3f8351839c366413da6b1bb2965a58")
+        (revision "0"))
+    (package
+      (name "sbcl-special-functions")
+      (version (git-version "1.2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Lisp-Stat/special-functions";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "092szffy7zfxgrvfck11wnj8l0mgcym13yiafj01ad02lbj1fnnv"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-cl-variates sbcl-fiveam sbcl-select))
+      (inputs
+        (list sbcl-alexandria-plus
+              sbcl-numerical-utilities
+              sbcl-let-plus
+              sbcl-float-features
+              sbcl-conduit-packages))
+      (home-page "https://lisp-stat.dev/docs/resources/special-functions/";)
+      (synopsis "Random variates for Common Lisp")
+      (description "This library implements
+@url{http://specialfunctionswiki.org/index.php/Main_Page, special
+functions} and has a focus on high accuracy double-float calculations
+using the latest algorithms.")
+      (license license:ms-pl))))
+
+(define-public cl-special-functions
+  (sbcl-package->cl-source-package sbcl-special-functions))
+
+(define-public ecl-special-functions
+  (sbcl-package->ecl-package sbcl-special-functions))
+
 (define-public sbcl-seria
   (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
         (revision "0"))
-- 
2.38.1






reply via email to

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