mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
d7705cc921
Changes: https://github.com/woodruffw/zizmor/releases/tag/v0.5.0 https://github.com/woodruffw/zizmor/releases/tag/v0.4.0 https://github.com/woodruffw/zizmor/releases/tag/v0.3.0
41 lines
902 B
Nix
41 lines
902 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
pkg-config,
|
|
openssl,
|
|
testers,
|
|
zizmor,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "zizmor";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "woodruffw";
|
|
repo = "zizmor";
|
|
rev = "v${version}";
|
|
hash = "sha256-dYM8Zkri0H/olODF2weOqdVg1NcPltzu1PZ92IbGLVE=";
|
|
};
|
|
|
|
cargoHash = "sha256-18DWe1MHABz1SMg72NcYTSCGvevchqZ3asb8+lg5MwE=";
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = zizmor;
|
|
};
|
|
|
|
meta = {
|
|
description = "Tool for finding security issues in GitHub Actions setups";
|
|
homepage = "https://woodruffw.github.io/zizmor/";
|
|
changelog = "https://github.com/woodruffw/zizmor/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ lesuisse ];
|
|
mainProgram = "zizmor";
|
|
};
|
|
}
|