summaryrefslogtreecommitdiff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-09 10:37:55 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-08-14 07:30:36 -0400
commit365481116cb42992f877ff2909a4a09c5d8819f4 (patch)
tree6d76bf3ff13922830d325b59bd11c97cb98dfff3 /gnu/packages/guile.scm
parent27f5e13e0a3a3b0df67698712ab592ad7c14f593 (diff)
downloadpatches-365481116cb42992f877ff2909a4a09c5d8819f4.tar
patches-365481116cb42992f877ff2909a4a09c5d8819f4.tar.gz
gnu: Add guile-redis.
* gnu/packages/guile.scm (guile-redis): New variable.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r--gnu/packages/guile.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 2aa871ebe4..7b4f4c65c2 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -556,4 +556,33 @@ interface for reading articles in any format.")
(home-page "http://haunt.dthompson.us")
(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