gobuster: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 05:20:00 -05:00
parent 68705eee2e
commit 2f022c86f2
2 changed files with 8 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
{ buildGoModule
, fetchFromGitHub
, lib
, stdenv
, Security
}:
buildGoModule rec {
@@ -16,7 +17,9 @@ buildGoModule rec {
modSha256 = "0jq0z5s05vqdvq7v1gdjwlqqwbl1j2rv9f16k52idl50vdiqviql";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
homepage = "https://github.com/OJ/gobuster";
license = licenses.asl20;