2019-12-26 14:52:26 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "act";
|
2020-03-13 11:46:08 +00:00
|
|
|
version = "0.2.6";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nektos";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-03-13 11:46:08 +00:00
|
|
|
sha256 = "0l7id483006mnii4rlcff4p0ricd8a2n24sf74a9b387x0akpbsn";
|
2019-12-26 14:52:26 +00:00
|
|
|
};
|
|
|
|
|
2020-03-13 11:46:08 +00:00
|
|
|
modSha256 = "04s4p9j6j7gw1s4v271zwzvdny7dvjaazd2pihmyjfik95xmwx9r";
|
2019-12-26 14:52:26 +00:00
|
|
|
|
2020-03-04 00:27:41 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2019-12-26 14:52:26 +00:00
|
|
|
meta = with lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|