nixpkgs/pkgs/servers/nosql/redis/default.nix

25 lines
609 B
Nix
Raw Normal View History

2016-04-21 21:50:03 +03:00
{ stdenv, fetchurl, lua }:
stdenv.mkDerivation rec {
2016-07-30 22:50:34 +03:00
version = "3.2.2";
name = "redis-${version}";
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";
};
2016-04-21 21:50:03 +03:00
buildInputs = [ lua ];
makeFlags = "PREFIX=$(out)";
2013-01-22 03:27:34 +04:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://redis.io;
description = "An open source, advanced key-value store";
license = stdenv.lib.licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.berdario ];
};
}