@@ -1,14 +1,14 @@
1−{ lib, stdenv, fetchurl, lua, pkg-config, systemd, jemalloc, nixosTests
1+{ lib, stdenv, fetchurl, lua, pkg-config, systemd, nixosTests
22, tlsSupport ? true, openssl
33}:
44
55stdenv.mkDerivation rec {
6− version = "6.0.10";
76 pname = "redis";
7+ version = "6.2.0";
88
99 src = fetchurl {
10− url = "http://download.redis.io/releases/${pname}-${version}.tar.gz";
11− sha256 = "1gc529nfh8frk4pynyjlnmzvwa0j9r5cmqwyd7537sywz6abifvr";
10+ url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
11+ sha256 = "1jnv6acjlljvrlxmz0mqarsx1fl5vwss24l8zy5dcawnbp129mk7";
1212 };
1313
1414 # Cross-compiling fixes
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
3636
3737 enableParallelBuilding = true;
3838
39+ NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-std=c11" ];
40+
3941 doCheck = false; # needs tcl
4042
4143 passthru.tests.redis = nixosTests.redis;
@@ -44,7 +46,8 @@ stdenv.mkDerivation rec {
4446 homepage = "https://redis.io";
4547 description = "An open source, advanced key-value store";
4648 license = licenses.bsd3;
47− platforms = platforms.unix;
48− maintainers = with maintainers; [ berdario globin ];
49+ platforms = platforms.all;
50+ changelog = "https://github.com/redis/redis/raw/${version}/00-RELEASENOTES";
51+ maintainers = with maintainers; [ berdario globin marsam ];
4952 };
5053}