Skip to content

Commit 81fd4c6

Browse files
gh-skyline: init at 0.1.3 (#372227)
2 parents 9571c98 + 52898d4 commit 81fd4c6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
nix-update-script,
6+
}:
7+
8+
buildGoModule rec {
9+
pname = "gh-skyline";
10+
version = "0.1.3";
11+
12+
src = fetchFromGitHub {
13+
owner = "github";
14+
repo = "gh-skyline";
15+
tag = "v${version}";
16+
hash = "sha256-j8RAuujlze589+W+jvXJq1b7YX3uf+sd8qTvyZeKYUc=";
17+
};
18+
19+
vendorHash = "sha256-rfv9KTTWs68pqSdgWo9dIn+PTe+77ZMOEhG0P37QwKo=";
20+
21+
ldflags = [
22+
"-s"
23+
"-w"
24+
];
25+
26+
passthru.updateScript = nix-update-script { };
27+
28+
meta = {
29+
description = "Generate a 3D model of your GitHub contribution history";
30+
homepage = "https://github.com/github/gh-skyline";
31+
license = lib.licenses.mit;
32+
maintainers = with lib.maintainers; [ perchun ];
33+
mainProgram = "gh-skyline";
34+
};
35+
}

0 commit comments

Comments
 (0)