nixpkgs/pkgs/servers/nosql/redis/default.nix
2017-02-19 13:52:08 +01:00

25 lines
597 B
Nix

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