mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
25 lines
609 B
Nix
25 lines
609 B
Nix
{ stdenv, fetchurl, lua }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.2.2";
|
|
name = "redis-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.redis.io/releases/${name}.tar.gz";
|
|
sha256 = "05cf63502b2248b5d39588962100bfa4fcb47dabd56931a8cb60b301b1d8daea";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|