Unverified Commit 9d95abdf authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #233001 from fabaff/bearer

bearer: init at 1.7.0
parents 04b76eb6 0ba8cba1
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "bearer";
  version = "1.7.0";

  src = fetchFromGitHub {
    owner = "bearer";
    repo = "bearer";
    rev = "refs/tags/v${version}";
    hash = "sha256-ecLJvV2gUY6uUeCUsVtDSVOQnZnsThGtguWWzb4vsoE=";
  };

  vendorHash = "sha256-EHj7tpQoiwu9pocFg5chNpuekxM3bHE2+V2srD4bInQ=";

  subPackages = [
    "cmd/bearer"
  ];

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

#  doCheck = false;

  meta = with lib; {
    description = "Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks";
    homepage = "https://github.com/bearer/bearer";
    changelog = "https://github.com/Bearer/bearer/releases/tag/v${version}";
    license = with licenses; [ elastic ];
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -326,6 +326,8 @@ with pkgs;
  bakelite = callPackage ../tools/backup/bakelite { };
  bearer = callPackage ../development/tools/bearer { };
  benthos = callPackage ../development/tools/benthos { };
  beyond-identity = callPackage ../tools/security/beyond-identity { };