From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfUNu-0000Zw-U0 for guix-patches@gnu.org; Wed, 09 Aug 2017 13:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfUNq-00058F-Ro for guix-patches@gnu.org; Wed, 09 Aug 2017 13:03:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfUNq-000589-PE for guix-patches@gnu.org; Wed, 09 Aug 2017 13:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dfUNq-0007W1-DJ for guix-patches@gnu.org; Wed, 09 Aug 2017 13:03:02 -0400 Subject: [bug#28028] [PATCH 3/9] gnu: Add perl-math-random-isaac. Resent-Message-ID: From: Ricardo Wurmus Date: Wed, 9 Aug 2017 19:00:31 +0200 Message-ID: <20170809170037.14230-3-ricardo.wurmus@mdc-berlin.de> In-Reply-To: <20170809170037.14230-1-ricardo.wurmus@mdc-berlin.de> References: <20170809170037.14230-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28028@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/perl.scm (perl-math-random-isaac): New variable. --- gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b3fc75a70..f94ffc1a6 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4067,6 +4067,35 @@ 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 + (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 public-domain))) + (define-public perl-math-random-isaac-xs (package (name "perl-math-random-isaac-xs") -- 2.13.2