Skip to content

Commit

Permalink
bettercap: build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Sep 22, 2020
1 parent 5c27f0d commit 2e30e22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/tools/security/bettercap/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib
{ stdenv
, buildGoModule
, fetchFromGitHub
, pkg-config
Expand All @@ -24,9 +24,10 @@ buildGoModule rec {
doCheck = false;

nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpcap libnfnetlink libnetfilter_queue libusb1 ];
buildInputs = [ libpcap libusb1 ]
++ stdenv.lib.optionals stdenv.isLinux [ libnfnetlink libnetfilter_queue ];

meta = with lib; {
meta = with stdenv.lib; {
description = "A man in the middle tool";
longDescription = ''
BetterCAP is a powerful, flexible and portable tool created to perform various types of MITM attacks against a network, manipulate HTTP, HTTPS and TCP traffic in realtime, sniff for credentials and much more.
Expand Down

0 comments on commit 2e30e22

Please sign in to comment.