849ee4d900
GitOrigin-RevId: 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2
27 lines
712 B
Nix
27 lines
712 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "act";
|
|
version = "0.2.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nektos";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-XDxG7F+oBatlb4ROBryt2Fop402riKmYoqZLJrUzBUQ=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-PwVDMSl36m+6ISJQvyrkCjaL3xp5VkaZtfxyMpNn+KI=";
|
|
|
|
doCheck = false;
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Run your GitHub Actions locally";
|
|
homepage = "https://github.com/nektos/act";
|
|
changelog = "https://github.com/nektos/act/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|