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