depot/third_party/nixpkgs/pkgs/tools/security/mantra/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
684 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "mantra";
version = "1.1";
src = fetchFromGitHub {
owner = "MrEmpy";
repo = "Mantra";
rev = "refs/tags/v.${version}";
hash = "sha256-wIFZgxl6qULDvdUeq4yiuc5dPDudKsYvVUewSL0ITNM=";
};
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";
};
}