25 lines
597 B
Nix
25 lines
597 B
Nix
{ stdenv, fetchurl, lua }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.2.3";
|
|
name = "redis-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.redis.io/releases/${name}.tar.gz";
|
|
sha256 = "05az2g3gna5lkhh6x1a5m6yardbiig1l4ysggldlk5if8ww9qkk7";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|