diff options
author | Paul Garlick <pgarlick@tourbillion-technology.com> | 2020-04-03 15:37:26 +0100 |
---|---|---|
committer | Paul Garlick <pgarlick@tourbillion-technology.com> | 2020-04-03 15:55:43 +0100 |
commit | 2b0695a5eff6a0cb69caf2f218677b6b629326e1 (patch) | |
tree | 35f839bc620da88743ee8e189b10cd294050e524 /gnu | |
parent | 20b4eb556e0eed43c859883cafb3f043b64dd5d1 (diff) | |
download | guix-patches-2b0695a5eff6a0cb69caf2f218677b6b629326e1.tar guix-patches-2b0695a5eff6a0cb69caf2f218677b6b629326e1.tar.gz |
gnu: Add perl-data-entropy.
* gnu/packages/perl.scm (perl-data-entropy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl.scm | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 57a70910a3..c04d4ab389 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -61,7 +61,8 @@ #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config) #:use-module (gnu packages readline) - #:use-module (gnu packages textutils)) + #:use-module (gnu packages textutils) + #:use-module (gnu packages web)) ;;; ;;; Please: Try to add new module packages in alphabetic order. @@ -2048,6 +2049,44 @@ input.") they are copies of each other.") (license (package-license perl)))) +(define-public perl-data-entropy + (package + (name "perl-data-entropy") + (version "0.007") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Data-Entropy-" + version ".tar.gz")) + (sha256 + (base32 + "1r176jjzir2zg5kidx85f7vzi6jsw7ci9vd4kvbr9183lfhw8496")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (propagated-inputs + `(("perl-crypt-rijndael" ,perl-crypt-rijndael) + ("perl-data-float" ,perl-data-float) + ("perl-http-lite" ,perl-http-lite) + ("perl-params-classify" ,perl-params-classify))) + (home-page "https://metacpan.org/release/Data-Entropy") + (synopsis "Entropy (randomness) management") + (description "@code{Data::Entropy} provides modules relating to +the generation and use of entropy. The Data::Entropy::Source class +manages the entropy coming from a particular source. This class acts +as a layer over a raw entropy source, which may be a normal I/O handle +or a special-purpose class. The Data::Entropy::RawSource::* classes +provide fundamental sources of entropy. The sources specially +supported are an OS-supplied entropy collector, downloads from servers +on the Internet, and cryptographic fake entropy. The +Data::Entropy::Algorithms module contains a collection of fundamental +algorithms that use entropy. There are random number generators and +functions to shuffle arrays.") + (license perl-license))) + (define-public perl-data-uniqid (package (name "perl-data-uniqid") |