3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/nosql/redis/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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 ];
};
}