Unverified Commit 95483d41 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #232980 from fabaff/mantra

mantra: init at 1.1
parents 271cafbf c079fef9
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ 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 −0
Original line number Diff line number Diff line
@@ -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;