nixpkgs/pkgs/tools/security/pretender/default.nix
2023-05-13 06:17:38 +00:00

30 lines
751 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "pretender";
version = "1.1.1";
src = fetchFromGitHub {
owner = "RedTeamPentesting";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-3i7zNzwURSNSleiW+KBkxdqBv9yshtBu1hLKtjWe9OE=";
};
vendorHash = "sha256-uw3mpf27OH5uNKmvCFcTw+YFoxVEqT4Fz/CSl9Wjbv0=";
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Tool for handling machine-in-the-middle tasks";
homepage = "https://github.com/RedTeamPentesting/pretender";
changelog = "https://github.com/RedTeamPentesting/pretender/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}