guix-commits
[Top][All Lists]
Advanced

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

02/15: gnu: Add cl-mt19937.


From: guix-commits
Subject: 02/15: gnu: Add cl-mt19937.
Date: Fri, 17 Jan 2020 07:46:58 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit 7765f4a484a074785422bbd0a347e5f9cd4c47ae
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Thu Jan 16 19:41:21 2020 +0100

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 187c4ed..53de245 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9236,3 +9236,29 @@ extensions to Common Lisp.  It contains:
 
 (define-public ecl-misc-extensions
   (sbcl-package->ecl-package sbcl-misc-extensions))
+
+(define-public sbcl-mt19937
+  (package
+    (name "sbcl-mt19937")
+    (version "1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://common-lisp.net/project/asdf-packaging/";
+                           "mt19937-latest.tar.gz"))
+       (sha256
+        (base32
+         "1iw636b0iw5ygkv02y8i41lh7xj0acglv0hg5agryn0zzi2nf1xv"))))
+    (build-system asdf-build-system/sbcl)
+    (synopsis "Mersenne Twister pseudo-random number generator")
+    (description
+     "MT19937 is a portable Mersenne Twister pseudo-random number generator
+for Common Lisp.")
+    (home-page "https://www.cliki.net/mt19937";)
+    (license license:public-domain)))
+
+(define-public cl-mt19937
+  (sbcl-package->cl-source-package sbcl-mt19937))
+
+(define-public ecl-mt19937
+  (sbcl-package->ecl-package sbcl-mt19937))



reply via email to

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