mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
32 lines
891 B
Nix
32 lines
891 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook
|
|
, pkgconfig, libevent, pcre, zlib, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "memtier-benchmark";
|
|
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 ];
|
|
};
|
|
}
|