From patchwork Tue Jul 26 19:05:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 13991 Received: (qmail 18799 invoked by uid 89); 26 Jul 2016 19:05:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1477 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 26 Jul 2016 19:05:37 +0000 Received: from localhost ([::1]:41867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7fb-0007xG-Nr for patchwork@sourceware.org; Tue, 26 Jul 2016 15:05:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7fT-0007vB-S7 for guix-devel@gnu.org; Tue, 26 Jul 2016 15:05:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS7fO-0006Na-NG for guix-devel@gnu.org; Tue, 26 Jul 2016 15:05:26 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:55077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7fO-0006NT-GJ for guix-devel@gnu.org; Tue, 26 Jul 2016 15:05:22 -0400 Received: from localhost (77.116.145.112.wireless.dyn.drei.com [77.116.145.112]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 993001CA0120; Tue, 26 Jul 2016 21:05:21 +0200 (CEST) Date: Tue, 26 Jul 2016 21:05:20 +0200 From: Danny Milosavljevic To: Andreas Enge Subject: [PATCH v2] gnu: Add perl-db_file. Message-ID: <20160726210520.778cd88c@scratchpost.org> In-Reply-To: <20160726210138.6b90aef7@scratchpost.org> References: <20160726173513.572a6d5d@scratchpost.org> <20160726183531.GA11804@solar> <20160726210138.6b90aef7@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-unknown-linux-gnu) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 85.13.128.8 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * 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 86cf883..abda97b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1013,3 +1013,35 @@ trees (LSM), for sustained throughput under random insert workloads.") (license gpl3) ; or GPL-2 ;; configure.ac: WiredTiger requires a 64-bit build. (supported-systems '("x86_64-linux" "mips64el-linux")))) + +(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))))