[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28028] [PATCH 2/9] gnu: Add perl-math-random-isaac-xs.
From: |
Ricardo Wurmus |
Subject: |
[bug#28028] [PATCH 2/9] gnu: Add perl-math-random-isaac-xs. |
Date: |
Wed, 9 Aug 2017 19:00:30 +0200 |
* gnu/packages/perl.scm (perl-math-random-isaac-xs): New variable.
---
gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index dcd9640d9..b3fc75a70 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4067,6 +4067,34 @@ implementation of these functions only serves as a
fallback in case the C
portions of this module couldn't be compiled on this machine.")
(license (package-license perl))))
+(define-public perl-math-random-isaac-xs
+ (package
+ (name "perl-math-random-isaac-xs")
+ (version "1.004")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/J/JA/JAWNSY/"
+ "Math-Random-ISAAC-XS-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yxqqcqvj51fn7b7j5xqhz65v74arzgainn66c6k7inijbmr1xws"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)
+ ("perl-test-nowarnings" ,perl-test-nowarnings)))
+ (home-page "http://search.cpan.org/dist/Math-Random-ISAAC-XS")
+ (synopsis "C implementation of 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 implements the same interface as
address@hidden::Random::ISAAC}.")
+ (license public-domain)))
+
(define-public perl-memoize-expirelru
(package
(name "perl-memoize-expirelru")
--
2.13.2
- [bug#28028] [PATCH 0/9] Perl crypto things, Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 1/9] gnu: Add perl-hash-fieldhash., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 4/9] gnu: Add perl-type-tie., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 5/9] gnu: Add perl-regexp-util., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 6/9] gnu: Add perl-ref-util-xs., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 8/9] gnu: Add perl-crypt-random-source., Ricardo Wurmus, 2017/08/09