unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add guile-redis.
@ 2015-08-09 14:38 David Thompson
  2015-08-14  6:07 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: David Thompson @ 2015-08-09 14:38 UTC (permalink / raw)
  To: guix-devel

[-- 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-14 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09 14:38 [PATCH] gnu: Add guile-redis David Thompson
2015-08-14  6:07 ` Ricardo Wurmus
2015-08-14 12:15   ` Thompson, David

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).