[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: Add cl-pcg.
From: |
guix-commits |
Subject: |
02/04: gnu: Add cl-pcg. |
Date: |
Tue, 16 Feb 2021 03:40:42 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit f65b1b5232838d6f435e8779e599cfe8121ee576
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Feb 15 21:54:34 2021 +0000
gnu: Add cl-pcg.
* gnu/packages/lisp-xyz.scm (cl-pcg, ecl-cl-pcg, sbcl-cl-pcg): New
variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 3843fd3..100a34e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -1420,6 +1420,37 @@ and macros, primarily for software projects written in
CL by the author.")
(define-public cl-piping
(sbcl-package->cl-source-package sbcl-piping))
+(define-public sbcl-cl-pcg
+ (let ((commit "8263d85ab0ca17fb05637a4430c2d564456bce8f")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-pcg")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sjl/cl-pcg")
+ (commit commit)))
+ (file-name (git-file-name "cl-pcg" version))
+ (sha256
+ (base32 "0s57wvvlvshp1gcp9i9d3qcmqhswnxps3i0y7wbb0v8i1a3p46m4"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("1am" ,sbcl-1am)))
+ (home-page "https://github.com/sjl/cl-pcg")
+ (synopsis "Permuted congruential generators in Common Lisp")
+ (description
+ "This is a bare-bones Permuted Congruential Generator implementation in
+pure Common Lisp.")
+ (license license:expat))))
+
+(define-public ecl-cl-pcg
+ (sbcl-package->ecl-package sbcl-cl-pcg))
+
+(define-public cl-pcg
+ (sbcl-package->cl-source-package sbcl-cl-pcg))
+
(define-public sbcl-jpl-queues
(package
(name "sbcl-jpl-queues")