2018-01-04 08:34:36 +00:00
|
|
|
{ stdenv, fetchurl, lua }:
|
2012-02-03 13:12:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-08 21:16:47 +01:00
|
|
|
version = "5.0.4";
|
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";
|
2019-04-08 21:16:47 +01:00
|
|
|
sha256 = "1pc7r4lbvhiyln7y529798nv8lxasky6sgspw49hkxi3bbzwxs9w";
|
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;
|
|
|
|
|
2018-08-08 22:30:19 +01:00
|
|
|
doCheck = false; # needs tcl
|
|
|
|
|
2014-05-15 20:11:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://redis.io;
|
2012-02-03 13:12:07 +00:00
|
|
|
description = "An open source, advanced key-value store";
|
2018-10-21 15:51:26 +01:00
|
|
|
license = licenses.bsd3;
|
2014-05-15 20:11:17 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.berdario ];
|
2012-02-03 13:12:07 +00:00
|
|
|
};
|
|
|
|
}
|