2020-03-27 08:33:21 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-12-26 15:52:26 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "act";
|
2021-05-07 02:28:42 +02:00
|
|
|
version = "0.2.22";
|
2019-12-26 15:52:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nektos";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-05-07 02:28:42 +02:00
|
|
|
sha256 = "sha256-a+yw7QSLNX3hO2GnFCifYMbPWYwtleUZS1AqPsxw9t8=";
|
2019-12-26 15:52:26 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 02:28:42 +02:00
|
|
|
vendorSha256 = "sha256-6jD+gY/TmO/Ot507IlTLNdWv7G4BHYlk/E9rVoRD65A=";
|
2019-12-26 15:52:26 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-04 01:27:41 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-12-26 15:52:26 +01:00
|
|
|
description = "Run your GitHub Actions locally";
|
2020-03-04 01:27:41 +01:00
|
|
|
homepage = "https://github.com/nektos/act";
|
2020-05-30 11:20:00 +02:00
|
|
|
changelog = "https://github.com/nektos/act/releases/tag/v${version}";
|
2019-12-26 15:52:26 +01:00
|
|
|
license = licenses.mit;
|
2020-11-17 12:02:06 +01:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2019-12-26 15:52:26 +01:00
|
|
|
};
|
2020-05-30 11:20:00 +02:00
|
|
|
}
|