Subject: bug#39549: closed (Re: [bug#39549] [PATCH] gnu: Add cl-randist.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 11 Feb 2020 08:34:02 +0000

Your bug report

#39549: [PATCH] gnu: Add cl-randist.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39549: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39549
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#39549] [PATCH] gnu: Add cl-randist.
From: Guillaume Le Vaillant <[email-masked]>
To: [email-masked]
Cc: Konrad Hinsen <[email-masked]>
Date: Tue, 11 Feb 2020 09:33:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed as c6e6254a05872a29ee36062e161e502bb9c071a1. Thanks.

Subject: [PATCH] gnu: Add cl-randist.
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Mon, 10 Feb 2020 17:27:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d361c7d5ab..5c97f37d48 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10238,3 +10238,35 @@ them as PNG files.")
 
 (define-public ecl-hdf5-cffi
   (sbcl-package->ecl-package sbcl-hdf5-cffi))
+
+(define-public sbcl-cl-randist
+  (package
+    (name "sbcl-cl-randist")
+    (version "0.4.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lvaruzza/cl-randist.git")
+             (commit "f088a54b540a7adefab7c04094a6103f9edda3d0")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0l8hyd6nbxb7f50vyxz3rbbm7kgr1fnadc40jywy4xj5vi5kpj5g"))))
+    (build-system asdf-build-system/sbcl)
+    (synopsis "Random distributions for Common Lisp")
+    (description
+     "Manual translation from C to Common Lisp of some random number
+generation functions from the GSL library.")
+    (home-page "https://github.com/lvaruzza/cl-randist")
+    (license license:bsd-2)
+    (arguments
+     `(#:asd-system-name "cl-randist"
+       #:asd-file "cl-randist.asd"
+       #:tests? #f))))
+
+(define-public cl-randist
+  (sbcl-package->cl-source-package sbcl-cl-randist))
+
+(define-public ecl-cl-randist
+  (sbcl-package->ecl-package sbcl-cl-randist))
-- 
2.25.0