Unverified Commit ad32631c authored by amesgen's avatar amesgen
Browse files

gh-actions-cache: init at 1.0.3

parent 4be063c1
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, buildGoModule
}:

buildGoModule rec {
  pname = "gh-actions-cache";
  version = "1.0.3";

  src = fetchFromGitHub {
    owner = "actions";
    repo = "gh-actions-cache";
    rev = "v${version}";
    hash = "sha256-5iCj6z4HCMVFeplb3dGP/V60z6zMUnUPVBMnPi4yU1Q=";
  };

  vendorHash = "sha256-i9akQ0IjH9NItjYvMWLiGnFQrfZhA7SOvPZiUvdtDrk=";

  ldflags = [
    "-s"
    "-w"
  ];

  # Tests need network
  doCheck = false;

  meta = {
    description = "gh extension to manage GitHub Actions caches";
    homepage = "https://github.com/actions/gh-actions-cache";
    changelog = "https://github.com/actions/gh-actions-cache/releases/tag/${src.rev}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ amesgen ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1390,6 +1390,8 @@ with pkgs;
  gfshare = callPackage ../tools/security/gfshare { };
  gh-actions-cache = callPackage ../tools/misc/gh-actions-cache { };
  gh-cal = callPackage ../tools/misc/gh-cal {
    inherit (darwin.apple_sdk.frameworks) Security;
  };