From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 52408@debbugs.gnu.org
Subject: [bug#52408] [PATCH 4/5] gnu: Add cl-random.
Date: Fri, 10 Dec 2021 06:17:27 +0000 [thread overview]
Message-ID: <PU1PR01MB21557E0AD6E619AE4456F1958D719@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <PU1PR01MB2155C4B4286D70A12A200B338D719@PU1PR01MB2155.apcprd01.prod.exchangelabs.com>
* gnu/packages/lisp-xyz.scm (cl-random, ecl-cl-random, sbcl-cl-random):
New variables.
---
gnu/packages/lisp-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1ee763d25f..1477c3e091 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19508,6 +19508,48 @@ to serve as a building block for such an interface.")
(define-public ecl-cl-rmath
(sbcl-package->ecl-package sbcl-cl-rmath))
+(define-public sbcl-cl-random
+ (let ((commit "5bb65911037f95a4260bd29a594a09df3849f4ea")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-random")
+ (version (git-version "0.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tpapp/cl-random")
+ (commit commit)))
+ (file-name (git-file-name "cl-random" version))
+ (sha256
+ (base32 "0jn80xphyvyp2v72acr6b8a2f6dw06myr5vrjfl14brsvks7wr89"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("anaphora" ,sbcl-anaphora)
+ ("array-operations" ,sbcl-array-operations)
+ ("cl-num-utils" ,sbcl-cl-num-utils)
+ ("cl-rmath" ,sbcl-cl-rmath)
+ ("cl-slice" ,sbcl-cl-slice)
+ ("gsll" ,sbcl-gsll)
+ ("let-plus" ,sbcl-let-plus)
+ ("lla" ,sbcl-lla)))
+ (native-inputs
+ `(("clunit" ,sbcl-clunit)))
+ (home-page "https://github.com/tpapp/cl-random")
+ (synopsis "Random variates for Common Lisp")
+ (description
+ "@code{cl-random} is a library for generating random draws from various
+commonly used distributions, and for calculating statistical functions, such as
+density, distribution and quantiles for these distributions.")
+ (license license:boost1.0))))
+
+(define-public cl-random
+ (sbcl-package->cl-source-package sbcl-cl-random))
+
+(define-public ecl-cl-random
+ (sbcl-package->ecl-package sbcl-cl-random))
+
(define-public sbcl-cl-tld
;; No release.
(let ((commit "f5014da8d831fa9481d4181d4450f10a52850c75"))
--
2.25.1
next prev parent reply other threads:[~2021-12-10 6:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-10 6:11 [bug#52408] [PATCH 0/5] gnu: Add cl-mgl-gpr Foo Chuan Wei
2021-12-10 6:14 ` [bug#52408] [PATCH 1/5] gnu: Add cl-num-utils Foo Chuan Wei
2021-12-10 6:15 ` [bug#52408] [PATCH 2/5] gnu: Add cl-lla Foo Chuan Wei
2021-12-10 6:16 ` [bug#52408] [PATCH 3/5] gnu: Add cl-rmath Foo Chuan Wei
2021-12-10 6:17 ` Foo Chuan Wei [this message]
2021-12-10 6:18 ` [bug#52408] [PATCH 5/5] gnu: Add cl-mgl-gpr Foo Chuan Wei
2021-12-11 10:34 ` bug#52408: [PATCH 0/5] " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PU1PR01MB21557E0AD6E619AE4456F1958D719@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
--to=chuanwei.foo@hotmail.com \
--cc=52408@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.