From 549ff17f9d028c68e701ca528ff4678048bcce39 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 10 Oct 2023 14:29:29 +0100 Subject: [PATCH] action-validator: init at 0.5.3 --- pkgs/by-name/ac/action-validator/package.nix | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ac/action-validator/package.nix diff --git a/pkgs/by-name/ac/action-validator/package.nix b/pkgs/by-name/ac/action-validator/package.nix new file mode 100644 index 000000000000..724e2337b007 --- /dev/null +++ b/pkgs/by-name/ac/action-validator/package.nix @@ -0,0 +1,27 @@ +{ 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 ]; + }; +}