forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
621 B
Nix
27 lines
621 B
Nix
{ stdenv, fetchurl, lua }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "5.0.5";
|
|
pname = "redis";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.redis.io/releases/${pname}-${version}.tar.gz";
|
|
sha256 = "0xd3ak527cnkz2cn422l2ag9nsa6mhv7y2y49zwqy7fjk6bh0f91";
|
|
};
|
|
|
|
buildInputs = [ lua ];
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = false; # needs tcl
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://redis.io;
|
|
description = "An open source, advanced key-value store";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.berdario ];
|
|
};
|
|
}
|