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

25 lines
654 B
Nix
Raw Normal View History

2020-03-21 10:08:00 +00:00
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
2020-02-05 15:20:24 +00:00
buildGoModule rec {
pname = "hey";
version = "0.1.3";
src = fetchFromGitHub {
owner = "rakyll";
repo = pname;
rev = "v${version}";
sha256 = "06w5hf0np0ayvjnfy8zgy605yrs5j326nk2gm0fy7amhwx1fzkwv";
};
modSha256 = "0a00kcyagqczw0vhl8qs2xs1y8myw080y9kjs4qrcmj6kibdy55q";
2020-03-21 10:08:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
2020-02-05 15:20:24 +00:00
description = "HTTP load generator, ApacheBench (ab) replacement";
homepage = "https://github.com/rakyll/hey";
license = licenses.asl20;
maintainers = with maintainers; [ filalex77 ];
};
}