nixpkgs/pkgs/by-name/ac/action-validator/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
697 B
Nix
Raw Normal View History

2023-10-10 13:29:29 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "action-validator";
2024-02-23 07:36:14 +00:00
version = "0.6.0";
2023-10-10 13:29:29 +00:00
src = fetchFromGitHub {
owner = "mpalmer";
repo = "action-validator";
rev = "v${version}";
2024-02-23 07:36:14 +00:00
hash = "sha256-lJHGx/GFddIwVVXRj75Z/l5CH/yuw/uIhr02Qkjruww=";
2023-10-10 13:29:29 +00:00
fetchSubmodules = true;
};
2024-02-23 07:36:14 +00:00
cargoHash = "sha256-mBY+J6JcIhV++tO6Dhw5JvYLSwoYZR3lB3l0KTjkcQM=";
2023-10-10 13:29:29 +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 ];
};
}