2020-03-27 07:33:21 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "act";
|
2021-01-28 21:17:59 +00:00
|
|
|
version = "0.2.19";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nektos";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-01-28 21:17:59 +00:00
|
|
|
sha256 = "sha256-vlE0tN6m/PZtDZiIs/glTWYP+E4qzD0MAeQjX+OAcHY=";
|
2019-12-26 14:52:26 +00:00
|
|
|
};
|
|
|
|
|
2021-01-28 21:17:59 +00:00
|
|
|
vendorSha256 = "sha256-9LEyxIBe4c938RQbLOQOsAb9MGNtjngm48P3P83BTNw=";
|
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;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2019-12-26 14:52:26 +00:00
|
|
|
};
|
2020-05-30 10:20:00 +01:00
|
|
|
}
|