fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
682 B
Nix
32 lines
682 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mantra";
|
|
version = "2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MrEmpy";
|
|
repo = "Mantra";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-fBcoKoTBGCyJS8+mzKXLGxcxmRsCcZFZEyMTnA5Rkbw=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool used to hunt down API key leaks in JS files and pages";
|
|
homepage = "https://github.com/MrEmpy/Mantra";
|
|
changelog = "https://github.com/MrEmpy/Mantra/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "mantra";
|
|
};
|
|
}
|