depot/third_party/nixpkgs/pkgs/tools/security/pretender/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

29 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 ];
};
}