commit
95483d41fa
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/security/mantra/default.nix
Normal file
31
pkgs/tools/security/mantra/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -5357,6 +5357,8 @@ with pkgs;
|
|||
|
||||
mandown = callPackage ../tools/misc/mandown { };
|
||||
|
||||
mantra = callPackage ../tools/security/mantra { };
|
||||
|
||||
mapcidr = callPackage ../tools/misc/mapcidr { };
|
||||
|
||||
maple-mono = (callPackage ../data/fonts/maple-font { }).Mono;
|
||||
|
|
Loading…
Reference in a new issue