Merge pull request #232980 from fabaff/mantra

mantra: init at 1.1
This commit is contained in:
figsoda 2023-05-20 10:56:08 -04:00 committed by GitHub
commit 95483d41fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View 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 ];
};
}

View file

@ -5357,6 +5357,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;