nixpkgs/pkgs/servers/nosql/redis/default.nix

25 lines
597 B
Nix
Raw Normal View History

2016-04-21 19:50:03 +01:00
{ stdenv, fetchurl, lua }:
stdenv.mkDerivation rec {
2017-10-24 16:16:11 +01:00
version = "4.0.2";
name = "redis-${version}";
src = fetchurl {
2014-05-06 16:05:08 +01:00
url = "http://download.redis.io/releases/${name}.tar.gz";
2017-10-24 16:16:11 +01:00
sha256 = "04s8cgvwjj1979s3hg8zkwc9pyn3jkjpz5zidp87kfcipifr385i";
};
2016-04-21 19:50:03 +01:00
buildInputs = [ lua ];
makeFlags = "PREFIX=$(out)";
2013-01-21 23:27:34 +00:00
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 ];
};
}