Merge pull request #212497 from amesgen/init-gh-actions-cache

gh-actions-cache: init at 1.0.3
This commit is contained in:
Mario Rodas 2023-01-28 06:26:42 -05:00 committed by GitHub
commit 8142fb901d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ 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 ];
};
}

View File

@ -1397,6 +1397,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;
};