depot/third_party/nixpkgs/pkgs/by-name/ac/action-validator/package.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

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 ];
};
}