act: 0.2.84 -> 0.2.86; use finalAttrs (#504069)
This commit is contained in:
@@ -6,29 +6,25 @@
|
||||
nix-update-script,
|
||||
act,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.2.84";
|
||||
in
|
||||
buildGoModule {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "act";
|
||||
inherit version;
|
||||
version = "0.2.86";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nektos";
|
||||
repo = "act";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-LV6xJI2V68Uwy61mih/siw1vc90EB9maomxeKwgaB68=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nA7QzQYd4oa+OJiPLpfWNjavVJiCd0t62+qC2TpJcSM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-H7MVh/VbkYvivM/4zATfczib3fgk5vYHeQkHsG+cboY=";
|
||||
vendorHash = "sha256-MsrWfrXuIi1m0vhDR05qbD4ynNpKvKwjUgDKbaq5iLs=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
"-X main.version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
@@ -43,10 +39,11 @@ buildGoModule {
|
||||
description = "Run your GitHub Actions locally";
|
||||
mainProgram = "act";
|
||||
homepage = "https://github.com/nektos/act";
|
||||
changelog = "https://github.com/nektos/act/releases/tag/v${version}";
|
||||
changelog = "https://github.com/nektos/act/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kashw2
|
||||
miniharinn
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user