guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: Add guile-redis.


From: David Thompson
Subject: 02/02: gnu: Add guile-redis.
Date: Fri, 14 Aug 2015 11:32:12 +0000

davexunit pushed a commit to branch master
in repository guix.

commit 365481116cb42992f877ff2909a4a09c5d8819f4
Author: David Thompson <address@hidden>
Date:   Sun Aug 9 10:37:55 2015 -0400

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

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 2aa871e..7b4f4c6 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]