From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v4 01/16] gnu: Add perl-db_file. Date: Thu, 28 Jul 2016 13:23:02 +0200 Message-ID: <20160728132302.3b8efe37@scratchpost.org> References: <20160728131932.0387fb87@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]:50010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjPB-0007f3-HV for guix-devel@gnu.org; Thu, 28 Jul 2016 07:23:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSjP6-0000aP-AW for guix-devel@gnu.org; Thu, 28 Jul 2016 07:23:08 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:55329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjP6-0000Zk-3x for guix-devel@gnu.org; Thu, 28 Jul 2016 07:23:04 -0400 Received: from localhost (178.112.81.47.wireless.dyn.drei.com [178.112.81.47]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 771E21CA06E3 for ; Thu, 28 Jul 2016 13:23:03 +0200 (CEST) In-Reply-To: <20160728131932.0387fb87@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))))