From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v5 01/17] gnu: Add perl-db-file. Date: Thu, 28 Jul 2016 23:38:17 +0200 Message-ID: <20160728213833.22057-2-dannym@scratchpost.org> References: <20160728213833.22057-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.9.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSt1T-0007cX-1z for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSt1P-00063Y-QC for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:18 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:55076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSt1P-00061G-JC for guix-devel@gnu.org; Thu, 28 Jul 2016 17:39:15 -0400 In-Reply-To: <20160728213833.22057-1-dannym@scratchpost.org> 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 This is a multi-part message in MIME format. --------------2.9.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable gnu: Add perl-db-file. * gnu/packages/databases.scm (perl-db-file): New variable. --- gnu/packages/databases.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) --------------2.9.1 Content-Type: text/x-patch; name="0001-gnu-Add-perl-db-file.patch" Content-Disposition: attachment; filename="0001-gnu-Add-perl-db-file.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index f088062..3bdb37b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1046,3 +1046,35 @@ trees (LSM), for sustained throughput under random= insert workloads.") (description "The DB::File module provides Perl bindings to the Berkeley DB versi= on 1.x.") (license (package-license perl)))) + +(define-public perl-db-file + (package + (name "perl-db-file") + (version "1.838") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PM/PMQS/DB_File-" + version + ".tar.gz")) + (sha256 + (base32 + "0yp5d5zr8dk9g6xdh7ygi5bq63q7nxvhd58dk2i3ki4nb7yv2yh9")))) + (build-system perl-build-system) + (inputs `(("bdb" ,bdb))) + (native-inputs `(("perl-test-pod" ,perl-test-pod))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before + 'configure 'modify-config.in + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "config.in" + (("/usr/local/BerkeleyDB") (assoc-ref inputs "bdb= "))) + #t))))) + (home-page "http://search.cpan.org/dist/DB_File") + (synopsis + "Perl5 access to Berkeley DB version 1.x") + (description + "DB::File provides Perl bindings to Berkeley DB version 1.x.") + (license (package-license perl)))) --------------2.9.1--