Merge pull request #232980 from fabaff/mantra

mantra: init at 1.1

figsoda 95483d41 271cafbf

Changed files
+33
pkgs
tools
security
mantra
top-level
+31
pkgs/tools/security/mantra/default.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 ];
+
};
+
}
+2
pkgs/top-level/all-packages.nix
···
mandown = callPackage ../tools/misc/mandown { };
+
mantra = callPackage ../tools/security/mantra { };
+
mapcidr = callPackage ../tools/misc/mapcidr { };
maple-mono = (callPackage ../data/fonts/maple-font { }).Mono;