2020-03-27 07:33:21 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "act";
|
2020-10-17 15:33:24 +01:00
|
|
|
version = "0.2.16";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nektos";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-17 15:33:24 +01:00
|
|
|
sha256 = "0zhn6av1adphkk9g13m5na63r8fqcjw8wibcja9v9mbw886zcc3p";
|
2019-12-26 14:52:26 +00:00
|
|
|
};
|
|
|
|
|
2020-08-31 15:17:59 +01:00
|
|
|
vendorSha256 = "0bcrw3hf92m7n58lrlm0vj1wiwwy82q2rl1a725q3d6xwvi5kh9h";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-04 00:27:41 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-12-26 14:52:26 +00:00
|
|
|
description = "Run your GitHub Actions locally";
|
2020-03-04 00:27:41 +00:00
|
|
|
homepage = "https://github.com/nektos/act";
|
2020-05-30 10:20:00 +01:00
|
|
|
changelog = "https://github.com/nektos/act/releases/tag/v${version}";
|
2019-12-26 14:52:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
};
|
2020-05-30 10:20:00 +01:00
|
|
|
}
|