Hythera
2026-06-04 11:36:55 +02:00
parent 51256eff30
commit 74f5c1f948
+6 -11
View File
@@ -5,41 +5,36 @@
autoreconfHook,
pkg-config,
libevent,
pcre,
zlib,
openssl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "memtier-benchmark";
version = "2.2.2";
version = "2.4.1";
src = fetchFromGitHub {
owner = "redislabs";
owner = "redis";
repo = "memtier_benchmark";
tag = finalAttrs.version;
hash = "sha256-/t7OY3N9VBa9o2amOFb2/MUr5Y4ep4HGUil8OtwKkng=";
hash = "sha256-pvi5p/0HZIiZYi5+eqcAu4MMrF0Hh42ByPEHuA9jcug=";
};
patchPhase = ''
substituteInPlace ./configure.ac \
--replace '1.2.8' '${finalAttrs.version}'
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libevent
pcre
zlib
openssl
];
meta = {
changelog = "https://github.com/redis/memtier_benchmark/releases/tag/${finalAttrs.version}";
description = "Redis and Memcached traffic generation and benchmarking tool";
homepage = "https://github.com/redislabs/memtier_benchmark";
homepage = "https://github.com/redis/memtier_benchmark";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ thoughtpolice ];