all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add guile-redis.
Date: Sun, 09 Aug 2015 10:38:38 -0400	[thread overview]
Message-ID: <877fp47ci9.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-guile-redis.patch --]
[-- Type: text/x-patch, Size: 1872 bytes --]

From 519e0ba6beecca0a5b4dc2a76abf43b0a00ed2dd Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Sun, 9 Aug 2015 10:37:55 -0400
Subject: [PATCH] gnu: Add guile-redis.

* gnu/packages/guile.scm (guile-redis): New variable.
---
 gnu/packages/guile.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index d7b196a..086ab63 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -535,4 +535,33 @@ See http://minikanren.org/ for more on miniKanren generally.")
 Guile's foreign function interface.")
     (license gpl3+)))
 
+(define-public guile-redis
+  (package
+    (name "guile-redis")
+    (version "0.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://savannah/guile-redis/guile-redis-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0vx6if6b4r3kwx64vzbs6vpc0cpcr85x11w9vkzq27gw8n7isv56"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Make sure everything goes under .../site/2.0, like Guile's
+               ;; search paths expects.
+               '(substitute* '("Makefile.in"
+                               "redis/Makefile.in"
+                               "redis/commands/Makefile.in")
+                  (("moddir =.*/share/guile/site" all)
+                   (string-append all "/2.0"))))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("guile" ,guile-2.0)))
+    (home-page "http://savannah.nongnu.org/projects/guile-redis/")
+    (synopsis "Redis client library for Guile")
+    (description "Guile-redis provides a Scheme interface to the Redis
+key-value cache and store.")
+    (license lgpl3+)))
+
 ;;; guile.scm ends here
-- 
2.4.3


[-- Attachment #2: Type: text/plain, Size: 38 bytes --]


-- 
David Thompson
GPG Key: 0FF1D807

             reply	other threads:[~2015-08-09 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-09 14:38 David Thompson [this message]
2015-08-14  6:07 ` [PATCH] gnu: Add guile-redis Ricardo Wurmus
2015-08-14 12:15   ` Thompson, David

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

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

  git send-email \
    --in-reply-to=877fp47ci9.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me \
    --to=dthompson2@worcester.edu \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.