From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: [PATCH] gnu: Add wiredtiger Date: Mon, 16 May 2016 09:12:05 +0800 Message-ID: <87zirqu7q2.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2N5u-0000QE-Uq for guix-devel@gnu.org; Mon, 16 May 2016 14:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2N5o-0006MI-V7 for guix-devel@gnu.org; Mon, 16 May 2016 14:18:18 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:55815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2N5o-0006Kr-Oj for guix-devel@gnu.org; Mon, 16 May 2016 14:18:12 -0400 Received: from localhost (unknown [115.53.118.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: iyzsong@openmailbox.org) by mail.openmailbox.org (Postfix) with ESMTPSA id 86E9520418F for ; Mon, 16 May 2016 03:12:10 +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 --=-=-= Content-Type: text/plain Hi, here is a patch for WiredTiger, a NoSQL data engine: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-wiredtiger.patch >From 7fda129fb863b6bb4a0d0f752c2c369fd30a50b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 15 May 2016 10:20:05 +0800 Subject: [PATCH] gnu: Add wiredtiger. * gnu/packages/database.scm (wiredtiger): New variable. --- gnu/packages/databases.scm | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index a8998d8..2a93de2 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -55,7 +55,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages jemalloc) #:use-module ((guix licenses) - #:select (gpl2 gpl3+ lgpl2.1+ lgpl3+ x11-style non-copyleft + #:select (gpl2 gpl3 gpl3+ lgpl2.1+ lgpl3+ x11-style non-copyleft bsd-2 bsd-3 public-domain)) #:use-module (guix packages) #:use-module (guix download) @@ -913,3 +913,34 @@ sets, bitmaps and hyperloglogs.") and B+ Tree data storage models. It is a fast key-value lightweight database and supports many programming languages. It is a NoSQL database.") (license gpl3+))) + +(define-public wiredtiger + (package + (name "wiredtiger") + (version "2.8.0") + (source (origin + (method url-fetch) + (uri (string-append + "http://source.wiredtiger.com/releases/wiredtiger-" + version ".tar.bz2")) + (sha256 + (base32 + "1qh7y5paisdxq19jgg81ld7i32lz920n5k30hdpxnr8ll9c4hgjr")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; XXX: timeout + #:configure-flags '("--enable-lz4" "--enable-zlib"))) + (inputs + `(("lz4" ,lz4) + ("zlib" ,zlib))) + (home-page "http://source.wiredtiger.com/") + (synopsis "NoSQL data engine") + (description + "WiredTiger is an extensible platform for data management. It supports +row-oriented storage (where all columns of a row are stored together), +column-oriented storage (where columns are stored in groups, allowing for +more efficient access and storage of column subsets) and log-structured merge +trees (LSM), for sustained throughput under random insert workloads.") + (license gpl3) ; or GPL-2 + ;; WiredTiger requires a 64-bit build. + (supported-systems '("x86_64-linux" "mips64el-linux")))) -- 2.6.3 --=-=-= Content-Type: text/plain It supports 64-bit systems (only tested on my x86_64-linux), and tests are disabled due to timeout. --=-=-=--