depot/pkgs/by-name/oc/octoscan/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
753 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "octoscan";
version = "0.1.2";
src = fetchFromGitHub {
owner = "synacktiv";
repo = "octoscan";
rev = "refs/tags/v${version}";
hash = "sha256-v8KINZwVH/AqRKLaornIOu7VsmjbQ6CuejXgKaomWso=";
};
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";
};
}