From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add perl-crypt-openssl-bignum. Date: Tue, 26 Jul 2016 23:41:37 +0200 Message-ID: <20160726234137.5271444c@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSA6l-0001NO-FG for guix-devel@gnu.org; Tue, 26 Jul 2016 17:41:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSA6h-0007uF-BE for guix-devel@gnu.org; Tue, 26 Jul 2016 17:41:47 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:33196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSA6h-0007u8-4Q for guix-devel@gnu.org; Tue, 26 Jul 2016 17:41:43 -0400 Received: from localhost (77.116.159.65.wireless.dyn.drei.com [77.116.159.65]) by dd1012.kasserver.com (Postfix) with ESMTPSA id AD0301CA0120 for ; Tue, 26 Jul 2016 23:41:41 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/tls.scm (perl-crypt-openssl-bignum): New variable. --- gnu/packages/tls.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index bdc1d7c..695ef22 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -527,3 +527,37 @@ finally access to the SSL api of the SSLeay/OpenSSL package so you can write servers or clients for more complicated applications.") (license (package-license perl)) (home-page "http://search.cpan.org/~mikem/Net-SSLeay-1.66/"))) + +(define-public perl-crypt-openssl-bignum + (package + (name "perl-crypt-openssl-bignum") + (version "0.06") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-" + version + ".tar.gz")) + (sha256 + (base32 + "05yzrdglrrzp191krf77zrwfkmzrfwrsrx1vyskbj94522lszk67")))) + (build-system perl-build-system) + (inputs `(("openssl" ,openssl))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'patch-Makefile.PL + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile.PL" + (("'LIBS'.*=>.*") (string-append "'LIBS' => ['-L" + (assoc-ref inputs "openssl") + "/lib -lcrypto'],"))) + #t))))) + (home-page + "http://search.cpan.org/dist/Crypt-OpenSSL-Bignum") + (synopsis + "OpenSSL's multiprecision integer arithmetic in Perl") + (description "Crypt::OpenSSL::Bignum provides multiprecision integer +arithmetic in Perl.") + ;; At your option either gpl1+ or the Artistic License + (license (package-license perl))))