b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
27 lines
697 B
Nix
27 lines
697 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "action-validator";
|
|
version = "0.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mpalmer";
|
|
repo = "action-validator";
|
|
rev = "v${version}";
|
|
hash = "sha256-22oYPYGnNp4K68pbNMolGcIGDYqjT/3FibO/jv3IEvg=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-CVDqXuAxI1vCZV4w8DS3fOrsYFvJoI35fbe+hnSahLc=";
|
|
|
|
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 ];
|
|
};
|
|
}
|