nixpkgs/pkgs/tools/security/pretender/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
751 B
Nix
Raw Normal View History

2022-08-29 06:33:08 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "pretender";
2023-10-24 19:35:09 +00:00
version = "1.2.0";
2022-08-29 06:33:08 +00:00
src = fetchFromGitHub {
owner = "RedTeamPentesting";
repo = pname;
2023-05-04 13:15:49 +00:00
rev = "refs/tags/v${version}";
2023-10-24 19:35:09 +00:00
hash = "sha256-adWdUlsReRptSgRAjNH9bWy9dpwpuAWtVxlbDL2pMmk=";
2022-08-29 06:33:08 +00:00
};
2023-10-24 19:35:09 +00:00
vendorHash = "sha256-kDHRjd3Y90ocBGSJ0B2jAM9tO+iDSXoUOzLEWX2G0J4=";
2022-08-29 06:33:08 +00:00
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Tool for handling machine-in-the-middle tasks";
homepage = "https://github.com/RedTeamPentesting/pretender";
2023-05-04 13:15:49 +00:00
changelog = "https://github.com/RedTeamPentesting/pretender/releases/tag/v${version}";
2022-08-29 06:33:08 +00:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}