3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/memtier-benchmark/default.nix
R. RyanTM df771cf289 memtier-benchmark: 1.2.11 -> 1.2.17
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/memtier-benchmark/versions
2019-08-19 19:29:28 -05:00

32 lines
901 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook
, pkgconfig, libevent, pcre, zlib, openssl
}:
stdenv.mkDerivation rec {
name = "memtier-benchmark-${version}";
version = "1.2.17";
src = fetchFromGitHub {
owner = "redislabs";
repo = "memtier_benchmark";
rev = "refs/tags/${version}";
sha256 = "18cka6sv3w8ffa81126nzi04if9g1wd3i3apxsgmv7xm2p8fsa39";
};
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 ];
};
}