nixpkgs-suyu/pkgs/servers/nosql/redis/default.nix
2018-08-11 09:35:36 +00:00

26 lines
631 B
Nix

{ stdenv, fetchurl, lua }:
stdenv.mkDerivation rec {
version = "4.0.10";
name = "redis-${version}";
src = fetchurl {
url = "http://download.redis.io/releases/${name}.tar.gz";
sha256 = "194cydhv3hf4v95ifvjvsqrs4jn3ffrkg5lvxj5d3y04lwsp9dhx";
};
buildInputs = [ lua ];
makeFlags = "PREFIX=$(out)";
enableParallelBuilding = true;
doCheck = false; # needs tcl
meta = with stdenv.lib; {
homepage = https://redis.io;
description = "An open source, advanced key-value store";
license = stdenv.lib.licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.berdario ];
};
}