2016-04-21 19:50:03 +01:00
|
|
|
{ stdenv, fetchurl, lua }:
|
2012-02-03 13:12:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-02-18 17:36:36 +00:00
|
|
|
version = "3.0.7";
|
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";
|
2016-02-18 17:36:36 +00:00
|
|
|
sha256 = "08vzfdr67gp3lvk770qpax2c5g2sx8hn6p64jn3jddrvxb2939xj";
|
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
|
|
|
};
|
|
|
|
}
|