uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 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 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
||||
, pkg-config, libevent, pcre, zlib, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "memtier-benchmark";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "redislabs";
|
||||
repo = "memtier_benchmark";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0m2qnnc71qpdj8w421bxn0zxz6ddvzy7b0n19jvyncnzvk1ff0sq";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace ./configure.ac \
|
||||
--replace '1.2.8' '${version}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libevent pcre zlib openssl ];
|
||||
|
||||
meta = {
|
||||
description = "Redis and Memcached traffic generation and benchmarking tool";
|
||||
homepage = "https://github.com/redislabs/memtier_benchmark";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue