depot/pkgs/by-name/ac/action-validator/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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