guix-commits
[Top][All Lists]
Advanced

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

03/09: gnu: Add perl-math-random-isaac.


From: Ricardo Wurmus
Subject: 03/09: gnu: Add perl-math-random-isaac.
Date: Mon, 14 Aug 2017 06:00:16 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 649238cbc75968e0c093deef88ab3ca31161d258
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Aug 14 11:44:55 2017 +0200

    gnu: Add perl-math-random-isaac.
    
    * gnu/packages/crypto.scm (perl-math-random-isaac): New variable.
---
 gnu/packages/crypto.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index fa07f9d..8df3095 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -465,3 +465,32 @@ distributed, unbiased, and unpredictable unless you know 
the seed.
 
 This package implements the same interface as @code{Math::Random::ISAAC}.")
     (license license:public-domain)))
+
+(define-public perl-math-random-isaac
+  (package
+    (name "perl-math-random-isaac")
+    (version "1.004")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/J/JA/JAWNSY/"
+                           "Math-Random-ISAAC-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0z1b3xbb3xz71h25fg6jgsccra7migq7s0vawx2rfzi0pwpz0wr7"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-nowarnings" ,perl-test-nowarnings)))
+    (propagated-inputs
+     `(("perl-math-random-isaac-xs" ,perl-math-random-isaac-xs)))
+    (home-page "http://search.cpan.org/dist/Math-Random-ISAAC";)
+    (synopsis "Perl interface to the ISAAC PRNG algorithm")
+    (description "ISAAC (Indirection, Shift, Accumulate, Add, and Count) is a
+fast pseudo-random number generator.  It is suitable for applications where a
+significant amount of random data needs to be produced quickly, such as
+solving using the Monte Carlo method or for games.  The results are uniformly
+distributed, unbiased, and unpredictable unless you know the seed.
+
+This package provides a Perl interface to the ISAAC pseudo random number
+generator.")
+    (license license:public-domain)))



reply via email to

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