unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nils Gillmann <niasterisk@grrlz.net>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: kyotocabinet (new variable)
Date: Fri, 19 Feb 2016 11:20:01 +0100	[thread overview]
Message-ID: <87k2m1knn2.fsf@grrlz.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

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.


[-- Attachment #2: 0001-gnu-Add-kyotocabinet.patch --]
[-- Type: text/x-patch, Size: 1957 bytes --]

From 598086b1c9b7c7e4adfe1cfbb00ab8f6a7e119a6 Mon Sep 17 00:00:00 2001
From: Nils Gillmann <niasterisk@grrlz.net>
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 © 2015 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016 Nils Gillmann <niasterisk@grrlz.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -822,3 +823,28 @@ supports many data structures including strings, hashes, 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=-Wl,-rpath="
+                       (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+)))
-- 
2.6.3


[-- Attachment #3: Type: text/plain, Size: 8 bytes --]


-- 
ng

             reply	other threads:[~2016-02-19 10:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 10:20 Nils Gillmann [this message]
2016-02-22 23:57 ` [PATCH] gnu: kyotocabinet (new variable) Nils Gillmann
2016-02-23 10:22   ` Nils Gillmann
2016-02-24 14:05 ` Nils Gillmann
2016-02-24 14:51   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2m1knn2.fsf@grrlz.net \
    --to=niasterisk@grrlz.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).