2016-04-21 19:50:03 +01:00
|
|
|
{ stdenv, fetchurl, lua }:
|
2012-02-03 13:12:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-18 04:26:16 +01:00
|
|
|
version = "4.0.1";
|
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-09-18 04:26:16 +01:00
|
|
|
sha256 = "14bm8lkhylc93r4dgl7kkzzpw2xq7gr6w6h80n3jazqnx5mcsj90";
|
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
|
|
|
};
|
|
|
|
}
|