From mboxrd@z Thu Jan 1 00:00:00 1970 From: contact.ng0@cryptolab.net Subject: [PATCH 1/2] gnu: Add tokyocabinet. Date: Sat, 11 Feb 2017 21:07:40 +0000 Message-ID: <20170211210741.8863-2-contact.ng0@cryptolab.net> References: <20170211210741.8863-1-contact.ng0@cryptolab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cces0-0007Wk-DB for guix-devel@gnu.org; Sat, 11 Feb 2017 16:06:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccerw-0001uC-Uh for guix-devel@gnu.org; Sat, 11 Feb 2017 16:06:12 -0500 Received: from aibo.runbox.com ([91.220.196.211]:49466) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccerw-0001u2-NB for guix-devel@gnu.org; Sat, 11 Feb 2017 16:06:08 -0500 In-Reply-To: <20170211210741.8863-1-contact.ng0@cryptolab.net> 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 From: ng0 * gnu/packages/databases.scm (tokyocabinet): 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 39287efd9..4df437fa1 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2015 Leo Famulari ;;; Copyright © 2016 Efraim Flashner -;;; Copyright © 2016 ng0 +;;; Copyright © 2016, 2017 ng0 ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 Jan Nieuwenhuizen @@ -1201,6 +1201,37 @@ 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 license:gpl3+))) +(define-public tokyocabinet + (package + (name "tokyocabinet") + (version "1.4.48") + (source + (origin + (method url-fetch) + (uri (string-append "http://fallabs.com/tokyocabinet/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "140zvr0n8kvsl0fbn2qn3f2kh3yynfwnizn4dgbj47m975yg80x0")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--enable-pthread" "--enable-off64" "--enable-fastest" + (string-append "LDFLAGS=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib")))) + (inputs + `(("zlib" ,zlib))) + (home-page "http://fallabs.com/tokyocabinet/") + (synopsis "Tokyo Cabinet is a modern implementation of the DBM database") + (description + "Tokyo Cabinet is a library of routines for managing a database. +The database is a simple data file containing records, each is a pair of a +key and a value. Every key and value is serial bytes with variable length. +Both binary data and character string can be used as a key and a value. +There is neither concept of data tables nor data types. Records are +organized in hash table, B+ tree, or fixed-length array.") + (license license:lgpl2.1+))) + (define-public wiredtiger (package (name "wiredtiger") -- 2.11.1