2020-03-27 07:33:21 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "act";
|
2020-04-28 10:20:00 +01:00
|
|
|
version = "0.2.8";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nektos";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-28 10:20:00 +01:00
|
|
|
sha256 = "14ird8z8f467spa0kdzjf6lq7pipq7rwxrdk6ppv7y1fxw96qm9x";
|
2019-12-26 14:52:26 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "0ns20vvrj0j921wsx227dxbpga6kll7pxglfqhl53xckrh85yyd8";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
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";
|
2019-12-26 14:52:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|