From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: [PATCH] gnu: kyotocabinet (new variable) Date: Fri, 19 Feb 2016 11:20:01 +0100 Message-ID: <87k2m1knn2.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWiAW-0002Hk-VW for guix-devel@gnu.org; Fri, 19 Feb 2016 05:20:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWiAT-0003uJ-1m for guix-devel@gnu.org; Fri, 19 Feb 2016 05:20:12 -0500 Received: from latitanza.investici.org ([82.94.249.234]:54435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWiAS-0003tM-Ot for guix-devel@gnu.org; Fri, 19 Feb 2016 05:20:08 -0500 Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 2D86F120561 for ; Fri, 19 Feb 2016 10:20:07 +0000 (UTC) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain This adds kyotocabinet. Phases all succeed, however I can't test it yet in practice as panopticon (in progress with packaging) is the only software I have which relies on it and I'm not a database expert. 1 sentence description due to the lack of knowledge about kyotocabinet. If you know more, feel free to add a patch later on to fix this. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-kyotocabinet.patch Content-Transfer-Encoding: quoted-printable >From 598086b1c9b7c7e4adfe1cfbb00ab8f6a7e119a6 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Fri, 19 Feb 2016 11:10:06 +0100 Subject: [PATCH] gnu: Add kyotocabinet * gnu/packages/databases.scm (kyotocabinet): New variable. --- gnu/packages/databases.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b51d968..cda5fc1 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -8,6 +8,7 @@ ;;; Copyright =C2=A9 2015 Sou Bunnbu ;;; Copyright =C2=A9 2015 Leo Famulari ;;; Copyright =C2=A9 2016 Efraim Flashner +;;; Copyright =C2=A9 2016 Nils Gillmann ;;; ;;; This file is part of GNU Guix. ;;; @@ -822,3 +823,28 @@ supports many data structures including strings, hashe= s, lists, sets, sorted sets, bitmaps and hyperloglogs.") (home-page "http://redis.io/") (license bsd-3))) + +(define-public kyotocabinet + (package + (name "kyotocabinet") + (version "1.2.76") + (source (origin + (method url-fetch) + (uri (string-append "http://fallabs.com/kyotocabinet/pkg/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0g6js20x7vnpq4p8ghbw3mh9wpqksya9vwhzdx6dnlf354zjsal1")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list + (string-append "LDFLAGS=3D-Wl,-rpath=3D" + (assoc-ref %outputs "out") "/lib")))) + (inputs `(("zlib" ,zlib))) + (home-page "http://fallabs.com/kyotocabinet/") + (synopsis + "Kyoto Cabinet is a straightforward implementation of dbm") + (description + "Kyoto Cabinet is a library of routines for managing a database.") + (license gpl3+))) --=20 2.6.3 --=-=-= Content-Type: text/plain -- ng --=-=-=--