c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
27 lines
697 B
Nix
27 lines
697 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "action-validator";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mpalmer";
|
|
repo = "action-validator";
|
|
rev = "v${version}";
|
|
hash = "sha256-lJHGx/GFddIwVVXRj75Z/l5CH/yuw/uIhr02Qkjruww=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-mBY+J6JcIhV++tO6Dhw5JvYLSwoYZR3lB3l0KTjkcQM=";
|
|
|
|
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 ];
|
|
};
|
|
}
|