2018-01-04 09:34:36 +01:00
|
|
|
{ stdenv, fetchurl, lua }:
|
2012-02-03 14:12:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-19 08:13:12 +02:00
|
|
|
version = "4.0.10";
|
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-06-19 08:13:12 +02:00
|
|
|
sha256 = "194cydhv3hf4v95ifvjvsqrs4jn3ffrkg5lvxj5d3y04lwsp9dhx";
|
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
|
|
|
};
|
|
|
|
}
|