summary refs log tree commit diff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-18 16:31:36 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-26 16:15:45 +0200
commit9cca298265b4c568892382d3e4740cdc7376c9f2 (patch)
tree277543136b1517e386913171636423b318aa07fb /gnu/packages/databases.scm
parent87c4a15da02abb9feb7d4d8cef80ff2bf20454f1 (diff)
downloadguix-9cca298265b4c568892382d3e4740cdc7376c9f2.tar.gz
gnu: Add go-github-com-gomodule-redigo.
* gnu/packages/databases.scm (go-github-com-gomodule-redigo): New variable.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 9bc15e71b2..2588cfa7be 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2400,6 +2400,32 @@ one-to-one, while still providing an idiomatic interface.")
      "Package rdb implements parsing and encoding of the Redis RDB file format.")
     (license license:expat)))
 
+(define-public go-github-com-gomodule-redigo
+  (package
+    (name "go-github-com-gomodule-redigo")
+    (version "1.8.8")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/gomodule/redigo")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0wplaaxg7f6c6c08gdp33l48hygn8gq1rhlnjzr1c9qcggsm07k1"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:unpack-path "github.com/gomodule/redigo"
+       #:import-path "github.com/gomodule/redigo/redis"))
+    (native-inputs
+     (list go-github-com-stretchr-testify
+           redis))
+    (home-page "https://github.com/gomodule/redigo")
+    (synopsis "Go client for Redis")
+    (description
+     "Redigo is a Go client for the Redis database.")
+    (license license:asl2.0)))
+
 (define-public kyotocabinet
   (package
     (name "kyotocabinet")