1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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;

View file

@ -25247,7 +25247,9 @@ in
binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils;
};
gobuster = callPackage ../tools/security/gobuster { };
gobuster = callPackage ../tools/security/gobuster {
inherit (darwin.apple_sdk.frameworks) Security;
};
guetzli = callPackage ../applications/graphics/guetzli { };