diff options
author | Austin Seipp <aseipp@pobox.com> | 2018-03-24 04:17:34 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-03-24 04:18:45 -0500 |
commit | efbeb74d0d1b5b696f6420db6089f52ad92c8784 (patch) | |
tree | a588a0df1bd617cfbee311700385927709c5922b /pkgs/tools | |
parent | ada22a64a899ddd2c98e81b4f877b37fc5fa4ce8 (diff) |
memtier-benchmark: init at 1.2.11
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/memtier-benchmark/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/networking/memtier-benchmark/default.nix b/pkgs/tools/networking/memtier-benchmark/default.nix new file mode 100644 index 0000000000000..ae8d3d964832f --- /dev/null +++ b/pkgs/tools/networking/memtier-benchmark/default.nix @@ -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 ]; + }; +} |