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