bettercap: 2.26.1 -> 2.27

https://github.com/bettercap/bettercap/releases/tag/v2.27
This commit is contained in:
zowoq
2020-04-08 19:08:26 +10:00
parent f4ff33cce6
commit a005ffe985
2 changed files with 18 additions and 546 deletions
+18 -12
View File
@@ -1,29 +1,35 @@
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, libpcap, libnfnetlink, libnetfilter_queue, libusb1 }:
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, libpcap
, libnfnetlink
, libnetfilter_queue
, libusb1
}:
buildGoPackage rec {
buildGoModule rec {
pname = "bettercap";
version = "2.26.1";
goPackagePath = "github.com/bettercap/bettercap";
version = "2.27";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "10qsknyzfpzfpm4gp98jwvw6qmkmx23nw88sbnpl2rlr725l560c";
sha256 = "18hwz9m16pxlb7wp78iqmdi0kimrx3h05fs0zhzm8qhzancq8alf";
};
nativeBuildInputs = [ pkgconfig ];
modSha256 = "1qhmrjb3fvw6maxrl7hb3bizrw6szhwx6s2g59p5pj3dz4x8jajn";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpcap libnfnetlink libnetfilter_queue libusb1 ];
goDeps = ./deps.nix;
meta = with stdenv.lib; {
meta = with 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.
'' ;
homepage = https://www.bettercap.org/;
'';
homepage = "https://www.bettercap.org/";
license = with licenses; gpl3;
maintainers = with maintainers; [ y0no ];
platforms = platforms.all;