diff mbox

gnu: Add perl-crypt-openssl-rsa.

Message ID 20160726235636.17f2e442@scratchpost.org
State New
Headers show

Commit Message

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

Patch

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 7ebb41d..833bef1 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -587,3 +587,32 @@  arithmetic in Perl.")
     "OpenSSL/LibreSSL pseudo-random number generator access")
   (description "Crypt::OpenSSL::Random is a OpenSSL/LibreSSL pseudo-random number generator")
   (license (package-license perl))))
+
+(define-public perl-crypt-openssl-rsa
+ (package
+  (name "perl-crypt-openssl-rsa")
+  (version "0.28")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+             "mirror://cpan/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-"
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "1gnpvv09b2gpifwdzc5jnhama3d1a4c39lzj9hcaicsb8rvzjmsk"))))
+  (build-system perl-build-system)
+  (inputs
+    `(("perl-crypt-openssl-bignum"
+       ,perl-crypt-openssl-bignum)
+      ("perl-crypt-openssl-random"
+       ,perl-crypt-openssl-random)
+      ("openssl" ,openssl)))
+  (arguments perl-crypt-arguments)
+  (home-page
+    "http://search.cpan.org/dist/Crypt-OpenSSL-RSA")
+  (synopsis
+    "RSA encoding and decoding, using the openSSL libraries")
+  (description "Crypt::OpenSSL::RSA does RSA encoding and decoding (using the OpenSSL libraries).")
+  (license (package-license perl))))