Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
792 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "action-validator";
version = "0.8.0";
src = fetchFromGitHub {
owner = "mpalmer";
repo = "action-validator";
tag = "v${finalAttrs.version}";
hash = "sha256-irBK27De9W5BSNIQynguOY8oPgA7K03dleE/0YvY75o=";
fetchSubmodules = true;
};
cargoHash = "sha256-w6qC4gJ06TfoQl2WD8lgOxSxUWyG6Z8ma9mUvvYlkTU=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool to validate GitHub Action and Workflow YAML files";
homepage = "https://github.com/mpalmer/action-validator";
license = lib.licenses.gpl3Plus;
mainProgram = "action-validator";
maintainers = with lib.maintainers; [ thiagokokada ];
};
})