1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/misc/act/default.nix

28 lines
714 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2019-12-26 14:52:26 +00:00
buildGoModule rec {
pname = "act";
2021-01-18 08:42:56 +00:00
version = "0.2.18";
2019-12-26 14:52:26 +00:00
src = fetchFromGitHub {
owner = "nektos";
repo = pname;
rev = "v${version}";
2021-01-18 08:42:56 +00:00
sha256 = "16c5qxxi37pdcqrf8aliad6lkqx9jk57yc2q6gpw9ffar49km4qi";
2019-12-26 14:52:26 +00:00
};
2021-01-18 08:42:56 +00:00
vendorSha256 = "1xw80vb49bd0n620yaxwcvyf9glkscc42i847blan4hw6k957hii";
2019-12-26 14:52:26 +00:00
doCheck = false;
2020-03-04 00:27:41 +00:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
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; [ Br1ght0ne ];
2019-12-26 14:52:26 +00:00
};
2020-05-30 10:20:00 +01:00
}