aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2023-02-17 18:34:05 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2023-02-17 19:18:49 +0100
commitb9d22cae3a3ec0f7091035d67b37e83b2585aa9b (patch)
tree52c219c7836ef8dbacc389a2ec765963a2296af0 /gnu/packages/lisp-xyz.scm
parent17e46bdf66acee5191ba212ef86557f38c5b9d62 (diff)
downloadguix-b9d22cae3a3ec0f7091035d67b37e83b2585aa9b.tar
guix-b9d22cae3a3ec0f7091035d67b37e83b2585aa9b.tar.gz
gnu: Add cl-distributions.
* gnu/packages/lisp-xyz.scm (cl-distributions, ecl-distributions, sbcl-distributions): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 135569efd0..05a7e3cb54 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27003,6 +27003,46 @@ using the latest algorithms.")
;; https://github.com/Lisp-Stat/special-functions/issues/4
(arguments (list #:tests? #f))))
+(define-public sbcl-distributions
+ (let ((commit "ea72622073ee7e005dfdc621ce1e5a83b22bb39e")
+ (revision "0"))
+ (package
+ (name "sbcl-distributions")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/distributions")
+ (commit commit)))
+ (file-name (git-file-name "cl-distributions" version))
+ (sha256
+ (base32 "1fkzigd0s0s0mvszgmv04yc8jp9gm4812445hfh6kpz6cjy5zpsk"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/distributions/issues/1
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-fiveam))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-array-operations
+ sbcl-cephes
+ sbcl-float-features
+ sbcl-let-plus
+ sbcl-numerical-utilities
+ sbcl-special-functions))
+ (home-page "https://lisp-stat.dev/docs/manuals/distributions/")
+ (synopsis "Statistical distributions for Common Lisp")
+ (description "The Distributions package provides a collection of
+probabilistic distributions and related functions")
+ (license license:ms-pl))))
+
+(define-public cl-distributions
+ (sbcl-package->cl-source-package sbcl-distributions))
+
+(define-public ecl-distributions
+ (sbcl-package->ecl-package sbcl-distributions))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar