Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ada22a64a899
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: efbeb74d0d1b
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 24, 2018

  1. memtier-benchmark: init at 1.2.11

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Mar 24, 2018
    Copy the full SHA
    efbeb74 View commit details
Showing with 33 additions and 0 deletions.
  1. +31 −0 pkgs/tools/networking/memtier-benchmark/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
31 changes: 31 additions & 0 deletions pkgs/tools/networking/memtier-benchmark/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3580,6 +3580,8 @@ with pkgs;
};
};

memtier-benchmark = callPackage ../tools/networking/memtier-benchmark { };

memtest86 = callPackage ../tools/misc/memtest86 { };

memtest86plus = callPackage ../tools/misc/memtest86+ { };