nixpkgs/pkgs/servers/nosql/redis/default.nix
2018-01-04 16:34:28 +01:00

25 lines
597 B
Nix

{ stdenv, fetchurl, lua }:
stdenv.mkDerivation rec {
version = "4.0.6";
name = "redis-${version}";
src = fetchurl {
url = "http://download.redis.io/releases/${name}.tar.gz";
sha256 = "1ypnwmxwm49l0b8i9swcbjdxnc6f0r9zyqm2h423wz13xilmv6vn";
};
buildInputs = [ lua ];
makeFlags = "PREFIX=$(out)";
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 ];
};
}