nixpkgs/pkgs/tools/networking/ghz/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
619 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ghz";
2022-11-07 22:17:34 +01:00
version = "0.111.0";
src = fetchFromGitHub {
owner = "bojand";
repo = "ghz";
rev = "v${version}";
2022-11-07 22:17:34 +01:00
sha256 = "sha256-FXehWUdFHsWYF/WXrJtmoDIb0Smh3D4aSJS8aOpvoxg=";
};
2022-09-06 15:57:01 +02:00
vendorSha256 = "sha256-VjrSUP0SwE5iOTevqIGlnSjH+TV4Ajx/PKuco9etkSc=";
subPackages = [ "cmd/ghz" "cmd/ghz-web" ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Simple gRPC benchmarking and load testing tool";
homepage = "https://ghz.sh";
license = licenses.asl20;
maintainers = [ maintainers.zombiezen ];
};
}