Commit ecc6d736 authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

zizmor: 1.7.0 -> 1.8.0

Changes:
https://github.com/zizmorcore/zizmor/releases/tag/v1.8.0

Adjusted the version regex of the update script so it does
not pick up the GitHub Actions tag.
parent f78a20aa
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -8,23 +8,25 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "zizmor";
  version = "1.7.0";
  version = "1.8.0";

  src = fetchFromGitHub {
    owner = "zizmorcore";
    repo = "zizmor";
    tag = "v${finalAttrs.version}";
    hash = "sha256-HDQDaIZVxMTkVTwCNyevSdVZELw8e6hIN/NhaHLcT24=";
    hash = "sha256-llxIuWgaRNJsl/piQ1BMqvE2MKnSnR5qxjLFqZ5z13I=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-hr/1RFXvbsRLxlmXNPuU3x+i41byE+v5k2aBg5UIbvM=";
  cargoHash = "sha256-OVGaHLA/VzF8wGrWrHaKpYDcp4ZeR9mf2s5I+u5ddcs=";

  nativeInstallCheckInputs = [ versionCheckHook ];

  doInstallCheck = true;

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version-regex=^v([0-9.]+\.[0-9.]+\.[0-9.])+$" ];
  };

  meta = {
    description = "Tool for finding security issues in GitHub Actions setups";