diff mbox

gnu: Add perl-crypt-openssl-random.

Message ID 20160726235332.0aeb38d9@scratchpost.org
State New
Headers show

Commit Message

Danny Milosavljevic July 26, 2016, 9:53 p.m. UTC
* gnu/packages/tls.scm (perl-crypt-openssl-random): New variable.
---
 gnu/packages/tls.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 743cac3..7ebb41d 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -563,3 +563,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))))