guix-commits
[Top][All Lists]
Advanced

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

12/16: gnu: Add julia-stablerngs.


From: guix-commits
Subject: 12/16: gnu: Add julia-stablerngs.
Date: Thu, 20 May 2021 10:13:06 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 47f67c565b25a0c18e2fc2d4260fd5f1f8a673b0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 20 16:52:08 2021 +0300

    gnu: Add julia-stablerngs.
    
    * gnu/packages/julia-xyz.scm (julia-stablerngs): New variable.
---
 gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index dc2d033..30775c7 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1553,6 +1553,29 @@ cosine) integrals, eta, zeta, digamma, inverse digamma, 
trigamma, and
 polygamma functions.")
     (license license:expat)))
 
+(define-public julia-stablerngs
+  (package
+    (name "julia-stablerngs")
+    (version "1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaRandom/StableRNGs.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1cw4wc38qbgmrrx0jjwjhynnarrzjkh0yyz242zj272brbci7p1r"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/JuliaRandom/StableRNGs.jl";)
+    (synopsis "Julia RNG with stable streams")
+    (description "This package intends to provide a simple RNG with stable
+streams, suitable for tests in packages which need reproducible streams of
+random numbers across Julia versions.  Indeed, the Julia RNGs provided by
+default are documented to have non-stable streams (which for example enables
+some performance improvements).")
+    (license license:expat)))
+
 (define-public julia-staticarrays
   (package
     (name "julia-staticarrays")



reply via email to

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