From 180b61b0475708e62667acc55a20584ccb701ef6 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 5 Feb 2020 17:20:24 +0200 Subject: [PATCH] hey: init at 0.1.3 --- pkgs/tools/networking/hey/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/networking/hey/default.nix diff --git a/pkgs/tools/networking/hey/default.nix b/pkgs/tools/networking/hey/default.nix new file mode 100644 index 00000000000..d65d5c9e323 --- /dev/null +++ b/pkgs/tools/networking/hey/default.nix @@ -0,0 +1,22 @@ +{ buildGoModule, lib, fetchFromGitHub }: + +buildGoModule rec { + pname = "hey"; + version = "0.1.3"; + + src = fetchFromGitHub { + owner = "rakyll"; + repo = pname; + rev = "v${version}"; + sha256 = "06w5hf0np0ayvjnfy8zgy605yrs5j326nk2gm0fy7amhwx1fzkwv"; + }; + + modSha256 = "0a00kcyagqczw0vhl8qs2xs1y8myw080y9kjs4qrcmj6kibdy55q"; + + meta = with lib; { + description = "HTTP load generator, ApacheBench (ab) replacement"; + homepage = "https://github.com/rakyll/hey"; + license = licenses.asl20; + maintainers = with maintainers; [ filalex77 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d9f945a620..8a43ffa894a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4028,6 +4028,8 @@ in hexd = callPackage ../tools/misc/hexd { }; pixd = callPackage ../tools/misc/pixd { }; + hey = callPackage ../tools/networking/hey { }; + hhpc = callPackage ../tools/misc/hhpc { }; hiera-eyaml = callPackage ../tools/system/hiera-eyaml { };