blob: 4c80d032ab10bf9a5ae39943882d3ddc35f344b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 ];
};
}
|