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

23 lines
579 B
Nix

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