diff options
author | David Thompson <davet@gnu.org> | 2015-06-05 20:09:10 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-08-08 14:55:08 -0400 |
commit | 463f6766823e2bd58fddab093f10cd9b9a55acca (patch) | |
tree | e247f9dead072b5d3736243f338e692c9ca1e1f7 | |
parent | 0abe1d86f5e0db3b558c6dcb11d22a60c88c64bc (diff) | |
download | guix-463f6766823e2bd58fddab093f10cd9b9a55acca.tar.gz |
gnu: Add redis.
* gnu/packages/databases.scm (redis): New variable.
-rw-r--r-- | gnu/packages/databases.scm | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 1b200b08d0..cbac16eac9 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -43,7 +43,7 @@ #:use-module (gnu packages jemalloc) #:use-module ((guix licenses) #:select (gpl2 gpl3+ lgpl2.1+ lgpl3+ x11-style non-copyleft - bsd-2 public-domain)) + bsd-2 bsd-3 public-domain)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -727,3 +727,30 @@ database engine. UnQLite is a document store database similar to MongoDB, Redis, CouchDB, etc. as well as a standard Key/Value store similar to BerkeleyDB, LevelDB, etc.") (license bsd-2))) + +(define-public redis + (package + (name "redis") + (version "3.0.3") + (source (origin + (method url-fetch) + (uri (string-append "http://download.redis.io/releases/redis-" + version".tar.gz")) + (sha256 + (base32 + "19cxdrk380qachw160h1x51mwj7kpkxlggfzfh19bl0nbdkgl20x")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; tests related to master/slave and replication fail + #:phases (modify-phases %standard-phases + (delete 'configure)) + #:make-flags `("CC=gcc" + "MALLOC=libc" + ,(string-append "PREFIX=" + (assoc-ref %outputs "out"))))) + (synopsis "Key-value cache and store") + (description "Redis is an advanced key-value cache and store. Redis +supports many data structures including strings, hashes, lists, sets, sorted +sets, bitmaps and hyperloglogs.") + (home-page "http://redis.io/") + (license bsd-3))) |