mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
actionlint: init at 1.6.4
This commit is contained in:
parent
584cfacc96
commit
bb4b854459
34
pkgs/development/tools/analysis/actionlint/default.nix
Normal file
34
pkgs/development/tools/analysis/actionlint/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, ronn, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "actionlint";
|
||||
version = "1.6.4";
|
||||
|
||||
subPackages = [ "cmd/actionlint" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhysd";
|
||||
repo = "actionlint";
|
||||
rev = "v${version}";
|
||||
sha256 = "1516892wikz3zda0la57s8nbm6459pf4vd123rv09s4nivznbmcx";
|
||||
};
|
||||
|
||||
vendorSha256 = "1i7442n621jmc974b73pfz1gyqw74ilpg1zz16yxqpfh5c958m7n";
|
||||
|
||||
nativeBuildInputs = [ ronn installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
ronn --roff man/actionlint.1.ronn
|
||||
installManPage man/actionlint.1
|
||||
'';
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/rhysd/actionlint.version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://rhysd.github.io/actionlint/";
|
||||
description = "Static checker for GitHub Actions workflow files";
|
||||
changelog = "https://github.com/rhysd/actionlint/raw/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -13457,6 +13457,8 @@ with pkgs;
|
||||
|
||||
abuild = callPackage ../development/tools/abuild { };
|
||||
|
||||
actionlint = callPackage ../development/tools/analysis/actionlint { };
|
||||
|
||||
adtool = callPackage ../tools/admin/adtool { };
|
||||
|
||||
inherit (callPackage ../development/tools/alloy {
|
||||
|
Loading…
Reference in New Issue
Block a user