chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / gh / gh-actions-cache / package.nix
blob2575beabf82a274b47fa7aa032261ef26de2d29c
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 }:
6 buildGoModule rec {
7   pname = "gh-actions-cache";
8   version = "1.0.4";
10   src = fetchFromGitHub {
11     owner = "actions";
12     repo = "gh-actions-cache";
13     rev = "v${version}";
14     hash = "sha256-GVha3xxLTBTiKfAjGb2q9btsGYzWQivGLyZ4Gg0s/N0=";
15   };
17   vendorHash = "sha256-4/Zt+ga3abEPtR0FjWIsDpOiG1bfVtVuLuXP8aHbzqk=";
19   ldflags = [
20     "-s"
21     "-w"
22   ];
24   # Needed for tests.
25   # https://github.com/actions/gh-actions-cache/issues/53#issuecomment-1464954495
26   env.GH_TOKEN = "dummy-token-to-facilitate-rest-client";
28   meta = {
29     description = "gh extension to manage GitHub Actions caches";
30     homepage = "https://github.com/actions/gh-actions-cache";
31     changelog = "https://github.com/actions/gh-actions-cache/releases/tag/${src.rev}";
32     license = lib.licenses.mit;
33     maintainers = with lib.maintainers; [ amesgen ];
34     mainProgram = "gh-actions-cache";
35   };