From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3 01/16] gnu: Add perl-db-file. Date: Thu, 28 Jul 2016 13:03:09 +0200 Message-ID: <20160728130309.7968d5ab@scratchpost.org> References: <20160728130126.12fda106@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]:43885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSj5y-0008Cp-5W for guix-devel@gnu.org; Thu, 28 Jul 2016 07:03:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSj5s-0004ya-7L for guix-devel@gnu.org; Thu, 28 Jul 2016 07:03:17 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:54500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSj5s-0004yW-0Y for guix-devel@gnu.org; Thu, 28 Jul 2016 07:03:12 -0400 Received: from localhost (178.112.81.47.wireless.dyn.drei.com [178.112.81.47]) by dd1012.kasserver.com (Postfix) with ESMTPSA id E1DC41CA06E3 for ; Thu, 28 Jul 2016 13:03:10 +0200 (CEST) In-Reply-To: <20160728130126.12fda106@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 gnu: Add perl-db-file. * gnu/packages/databases.scm (perl-db-file): New variable. --- gnu/packages/databases.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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 version 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))))