Merge pull request #188773 from fabaff/pretender

This commit is contained in:
Sandro 2022-08-29 11:11:43 +02:00 committed by GitHub
commit 8774936163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "pretender";
version = "1.0.0";
src = fetchFromGitHub {
owner = "RedTeamPentesting";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JTNmebubaJQMtZm1ZGZote1qXjjiMcxSGQYPgLZXd0o=";
};
vendorSha256 = "sha256-CpMrxAZ+7Dc1UgH+AnuGh+gpBZpLshck/1+9WJNssEk=";
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Tool for handling machine-in-the-middle tasks";
homepage = "https://github.com/RedTeamPentesting/pretender";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -10008,6 +10008,8 @@ with pkgs;
pre-commit = callPackage ../tools/misc/pre-commit { };
pretender = callPackage ../tools/security/pretender { };
pretty-simple = callPackage ../development/tools/pretty-simple { };
prettyping = callPackage ../tools/networking/prettyping { };