2016-04-21 19:50:03 +01:00
|
|
|
{ stdenv, fetchurl, lua }:
|
2012-02-03 13:12:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-06-30 19:00:14 +01:00
|
|
|
version = "3.2.9";
|
2015-06-04 16:36:53 +01:00
|
|
|
name = "redis-${version}";
|
2012-02-03 13:12:07 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-06 16:05:08 +01:00
|
|
|
url = "http://download.redis.io/releases/${name}.tar.gz";
|
2017-06-30 19:00:14 +01:00
|
|
|
sha256 = "09pzb468jfps1w7bx2xpsvalj5r3q8hav7l3s10f91xjhflwzakf";
|
2012-02-03 13:12:07 +00:00
|
|
|
};
|
|
|
|
|
2016-04-21 19:50:03 +01:00
|
|
|
buildInputs = [ lua ];
|
2012-02-03 13:12:07 +00:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
2013-01-21 23:27:34 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-05-15 20:11:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-02-03 13:12:07 +00:00
|
|
|
homepage = http://redis.io;
|
|
|
|
description = "An open source, advanced key-value store";
|
2014-12-20 23:00:35 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2014-05-15 20:11:17 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.berdario ];
|
2012-02-03 13:12:07 +00:00
|
|
|
};
|
|
|
|
}
|