mantra: init at 1.1
This commit is contained in:
parent
b7a9deb5bd
commit
c079fef923
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5353,6 +5353,8 @@ with pkgs;
|
||||||
|
|
||||||
mandown = callPackage ../tools/misc/mandown { };
|
mandown = callPackage ../tools/misc/mandown { };
|
||||||
|
|
||||||
|
mantra = callPackage ../tools/security/mantra { };
|
||||||
|
|
||||||
mapcidr = callPackage ../tools/misc/mapcidr { };
|
mapcidr = callPackage ../tools/misc/mapcidr { };
|
||||||
|
|
||||||
maple-mono = (callPackage ../data/fonts/maple-font { }).Mono;
|
maple-mono = (callPackage ../data/fonts/maple-font { }).Mono;
|
||||||
|
|
Loading…
Reference in a new issue