summary refs log blame commit diff
path: root/pkgs/development/tools/misc/act/default.nix
blob: 43bcaa57309d9d92666fb05c6f5e53b834ec37ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                        


                   
                     




                         
                                                                   

    
                                                                       
 

                  
                                                       
 
                    
                                                    
                                               
                                                                         
                           
                                                                  
    
 
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "act";
  version = "0.2.25";

  src = fetchFromGitHub {
    owner = "nektos";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-Eo5uWBLriYa7tLpPMa34+l6BYQe9useL1tN9gqUSt0k=";
  };

  vendorSha256 = "sha256-1v87WcQoVyTyCStiMAoThidIMRqJwdsYNF987kQp5YM=";

  doCheck = false;

  ldflags = [ "-s" "-w" "-X main.version=${version}" ];

  meta = with lib; {
    description = "Run your GitHub Actions locally";
    homepage = "https://github.com/nektos/act";
    changelog = "https://github.com/nektos/act/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ Br1ght0ne SuperSandro2000 ];
  };
}