biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / act / default.nix
blob2bb9467a4170e5a082dfc7efaf807088be1eaae5
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 }:
6 buildGoModule rec {
7   pname = "act";
8   version = "0.2.61";
10   src = fetchFromGitHub {
11     owner = "nektos";
12     repo = pname;
13     rev = "refs/tags/v${version}";
14     hash = "sha256-X2Um6z3BXhshNGTwih/mvXigCplzUr+mVOn0SZ7RESA=";
15   };
17   vendorHash = "sha256-HtCHAMcTFQS8YWjWt9LEHkhZBE8XDF4YOcGBFv0e5l0=";
19   doCheck = false;
21   ldflags = [
22     "-s"
23     "-w"
24     "-X main.version=${version}"
25   ];
27   meta = with lib; {
28     description = "Run your GitHub Actions locally";
29     mainProgram = "act";
30     homepage = "https://github.com/nektos/act";
31     changelog = "https://github.com/nektos/act/releases/tag/v${version}";
32     license = licenses.mit;
33     maintainers = with maintainers; [ Br1ght0ne kashw2 ];
34   };