1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/tools/misc/act/default.nix

24 lines
618 B
Nix
Raw Normal View History

{ 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
};
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}" ];
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 ];
};
}