2023-10-19 13:55:26 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "action-validator";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.6.0";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mpalmer";
|
|
|
|
repo = "action-validator";
|
|
|
|
rev = "v${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-lJHGx/GFddIwVVXRj75Z/l5CH/yuw/uIhr02Qkjruww=";
|
2023-10-19 13:55:26 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
cargoHash = "sha256-mBY+J6JcIhV++tO6Dhw5JvYLSwoYZR3lB3l0KTjkcQM=";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to validate GitHub Action and Workflow YAML files";
|
|
|
|
homepage = "https://github.com/mpalmer/action-validator";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
mainProgram = "action-validator";
|
|
|
|
maintainers = with maintainers; [ thiagokokada ];
|
|
|
|
};
|
|
|
|
}
|