mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
memtier-benchmark: init at 1.2.11
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
ada22a64a8
commit
efbeb74d0d
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/networking/memtier-benchmark/default.nix
Normal file
31
pkgs/tools/networking/memtier-benchmark/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
, pkgconfig, libevent, pcre, zlib, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "memtier-benchmark-${version}";
|
||||
version = "1.2.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "redislabs";
|
||||
repo = "memtier_benchmark";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0a1lz4j9whj6yf94xn7rna00abgrv2qs30vmpns1n9zqlpaj6b6a";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace ./configure.ac \
|
||||
--replace '1.2.8' '${version}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ libevent pcre zlib openssl ];
|
||||
|
||||
meta = {
|
||||
description = "Redis and Memcached traffic generation and benchmarking tool";
|
||||
homepage = https://github.com/redislabs/memtier_benchmark;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
|
@ -3580,6 +3580,8 @@ with pkgs;
|
|||
};
|
||||
};
|
||||
|
||||
memtier-benchmark = callPackage ../tools/networking/memtier-benchmark { };
|
||||
|
||||
memtest86 = callPackage ../tools/misc/memtest86 { };
|
||||
|
||||
memtest86plus = callPackage ../tools/misc/memtest86+ { };
|
||||
|
|
Loading…
Reference in a new issue