1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 unstableGitUpdater,
6}:
7
8rustPlatform.buildRustPackage {
9 pname = "action-validator";
10 version = "0.6.0-unstable-2025-02-16";
11
12 src = fetchFromGitHub {
13 owner = "mpalmer";
14 repo = "action-validator";
15 rev = "2f8be1d2066eb3687496a156d00b4f1b3ea7b028";
16 hash = "sha256-QDnikgAfkrvn7/vnmgTQ5J8Ro2HZ6SVkp9cPUYgejqM=";
17 fetchSubmodules = true;
18 };
19
20 cargoHash = "sha256-FuJ5NzeZhfN312wK5Q1DgIXUAN6hqxu/1BhGqasbdS8=";
21
22 passthru.updateScript = unstableGitUpdater {
23 tagPrefix = "v";
24 branch = "main";
25 };
26
27 meta = {
28 description = "Tool to validate GitHub Action and Workflow YAML files";
29 homepage = "https://github.com/mpalmer/action-validator";
30 license = lib.licenses.gpl3Plus;
31 mainProgram = "action-validator";
32 maintainers = with lib.maintainers; [ thiagokokada ];
33 };
34}