Patchwork [v5,17/17] gnu: Add perl-crypt-openssl-random.

login
register
mail settings
Submitter Danny Milosavljevic
Date July 28, 2016, 9:38 p.m.
Message ID <20160728213833.22057-18-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/14128/
State New
Headers show

Comments

Danny Milosavljevic - July 28, 2016, 9:38 p.m.
gnu: Add perl-crypt-openssl-random.

* gnu/packages/tls.scm (perl-crypt-openssl-random): New variable.
---
 gnu/packages/tls.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Patch

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index fba130b..cd7d003 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -592,3 +592,27 @@  servers or clients for more complicated applications.")
 arithmetic in Perl.")
   ;; At your option either gpl1+ or the Artistic License
   (license (package-license perl))))
+
+(define-public perl-crypt-openssl-random
+ (package
+  (name "perl-crypt-openssl-random")
+  (version "0.11")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+             "mirror://cpan/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-"
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "0yjcabkibrkafywvdkmd1xpi6br48skyk3l15ni176wvlg38335v"))))
+  (build-system perl-build-system)
+  (inputs `(("openssl" ,openssl)))
+  (arguments perl-crypt-arguments)
+  (home-page
+    "http://search.cpan.org/dist/Crypt-OpenSSL-Random")
+  (synopsis
+    "OpenSSL/LibreSSL pseudo-random number generator access")
+  (description "Crypt::OpenSSL::Random is a OpenSSL/LibreSSL pseudo-random number generator")
+  (license (package-license perl))))