depot/third_party/nixpkgs/pkgs/by-name/oc/octoscan/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

33 lines
753 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "octoscan";
version = "0.1.0";
src = fetchFromGitHub {
owner = "synacktiv";
repo = "octoscan";
rev = "refs/tags/v${version}";
hash = "sha256-TUQz5/ktOUP7h9uDBUbluh5yM4Msqj6mJmUOexR765o=";
};
vendorHash = "sha256-9IT8qTFzn8otWGTBP7ODcT8iBckIJ/3+jkbF1dq6aDw=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Static vulnerability scanner for GitHub action workflows";
homepage = "https://github.com/synacktiv/octoscan";
changelog = "https://github.com/synacktiv/octoscan/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "octoscan";
};
}