Unverified Commit 8709619a authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

secrethound: init at 1.0.0 (#460447)

parents 3642572d fea9c0de
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule (finalAttrs: {
  pname = "secrethound";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "rafabd1";
    repo = "SecretHound";
    rev = "v${finalAttrs.version}";
    hash = "sha256-nXL7ly4W4MIXy3DcWeTPfP3t77M72EDxaqjQWwNu/TY=";
  };

  vendorHash = "sha256-oTyI3/+evDTzyH+BjfSP0A1r2bYVAMxtWRsg0G1d2zQ=";

  ldflags = [
    "-s"
    "-w"
  ];

  meta = {
    description = "A powerful CLI tool designed to find secrets in JavaScript files, web pages, and other text sources.";
    homepage = "https://github.com/rafabd1/SecretHound";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.michaelBelsanti ];
    mainProgram = "secrethound";
  };
})