hey: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:08:00 -05:00
parent cb8f82b836
commit 7e4f82ce7f
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ buildGoModule, lib, fetchFromGitHub }:
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "hey";
@ -13,7 +13,9 @@ buildGoModule rec {
modSha256 = "0a00kcyagqczw0vhl8qs2xs1y8myw080y9kjs4qrcmj6kibdy55q";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "HTTP load generator, ApacheBench (ab) replacement";
homepage = "https://github.com/rakyll/hey";
license = licenses.asl20;

View file

@ -4147,7 +4147,9 @@ in
hexd = callPackage ../tools/misc/hexd { };
pixd = callPackage ../tools/misc/pixd { };
hey = callPackage ../tools/networking/hey { };
hey = callPackage ../tools/networking/hey {
inherit (darwin.apple_sdk.frameworks) Security;
};
hhpc = callPackage ../tools/misc/hhpc { };