34 lines
675 B
Nix
34 lines
675 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mantra";
|
|
version = "3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MrEmpy";
|
|
repo = "Mantra";
|
|
tag = "v${version}";
|
|
hash = "sha256-DnErXuMbCRK3WxhdyPj0dOUtGnCcmynPk/hYmOsOKVU=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
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 = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "mantra";
|
|
};
|
|
}
|