mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
parent
249bc36e1d
commit
dc043f86c7
40
pkgs/by-name/zi/zizmor/package.nix
Normal file
40
pkgs/by-name/zi/zizmor/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
testers,
|
||||
zizmor,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "zizmor";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "woodruffw";
|
||||
repo = "zizmor";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-S2B4GQAqx4t9AZf3QDUhzku68j0buZdW0cLhmOiRssk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-hoZXR+zYuK/r4/r3QwIhTmMTCs5M0lMACH4QPEq07ZU=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user