diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2021-02-15 21:57:43 +0000 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-02-16 09:39:57 +0100 |
commit | 9fcd3e4c9191cea8c2920f6bde582ed14e91515b (patch) | |
tree | b0c914c14a407894531fac2438ce37843d737cf5 | |
parent | f65b1b5232838d6f435e8779e599cfe8121ee576 (diff) | |
download | guix-9fcd3e4c9191cea8c2920f6bde582ed14e91515b.tar.gz |
gnu: Add cl-seedable-rng.
* gnu/packages/lisp-xyz.scm (cl-seedable-rng, ecl-seedable-rng, sbcl-seedable-rng): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 100a34e283..5c305e1508 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -1451,6 +1451,40 @@ pure Common Lisp.") (define-public cl-pcg (sbcl-package->cl-source-package sbcl-cl-pcg)) +(define-public sbcl-seedable-rng + (let ((commit "aa1a1564b6e07e2698df37c7a98348c4f762cb15") + (revision "1")) + (package + (name "sbcl-seedable-rng") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.mfiano.net/mfiano/seedable-rng") + (commit commit))) + (file-name (git-file-name "seedable-rng" version)) + (sha256 + (base32 "1ldpsbp3qrfzvknclsxj3sdyms1jf9ad20dvh4w0kw3zgahn2nr5")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("cl-pcg" ,sbcl-cl-pcg) + ("golden-utils" ,sbcl-golden-utils) + ("ironclad" ,sbcl-ironclad))) + (home-page "https://git.mfiano.net/mfiano/seedable-rng") + (synopsis "Common Lisp random number generator") + (description + "SEEDABLE-RNG provides a convenient means of generating random numbers +that are seedable with deterministic results across hardware and Common Lisp +implementations.") + (license license:expat)))) + +(define-public ecl-seedable-rng + (sbcl-package->ecl-package sbcl-seedable-rng)) + +(define-public cl-seedable-rng + (sbcl-package->cl-source-package sbcl-seedable-rng)) + (define-public sbcl-jpl-queues (package (name "sbcl-jpl-queues") |