{ stdenv, fetchurl, lua }: stdenv.mkDerivation rec { version = "3.2.9"; name = "redis-${version}"; src = fetchurl { url = "http://download.redis.io/releases/${name}.tar.gz"; sha256 = "09pzb468jfps1w7bx2xpsvalj5r3q8hav7l3s10f91xjhflwzakf"; }; 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 ]; }; }