mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
f6e919cf74
Diff: https://github.com/synacktiv/octoscan/compare/refs/tags/v0.1.1...v0.1.2 Changelog: https://github.com/synacktiv/octoscan/releases/tag/v0.1.2
34 lines
753 B
Nix
34 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";
|
|
};
|
|
}
|