Merge pull request #114203 from marsam/update-redis

redis: 6.0.10 -> 6.2.0
This commit is contained in:
Mario Rodas 2021-02-24 20:05:14 -05:00 committed by GitHub
commit 7fa3cffb72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchurl, lua, pkg-config, systemd, jemalloc, nixosTests
{ lib, stdenv, fetchurl, lua, pkg-config, systemd, nixosTests
, tlsSupport ? true, openssl
}:
stdenv.mkDerivation rec {
version = "6.0.10";
pname = "redis";
version = "6.2.0";
src = fetchurl {
url = "http://download.redis.io/releases/${pname}-${version}.tar.gz";
sha256 = "1gc529nfh8frk4pynyjlnmzvwa0j9r5cmqwyd7537sywz6abifvr";
url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
sha256 = "1jnv6acjlljvrlxmz0mqarsx1fl5vwss24l8zy5dcawnbp129mk7";
};
# Cross-compiling fixes
@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-std=c11" ];
doCheck = false; # needs tcl
passthru.tests.redis = nixosTests.redis;
@ -44,7 +46,8 @@ stdenv.mkDerivation rec {
homepage = "https://redis.io";
description = "An open source, advanced key-value store";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ berdario globin ];
platforms = platforms.all;
changelog = "https://github.com/redis/redis/raw/${version}/00-RELEASENOTES";
maintainers = with maintainers; [ berdario globin marsam ];
};
}