Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
732 B
Nix
Raw Normal View History

2025-01-08 22:21:09 +01:00
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "gh-skyline";
2025-04-14 23:17:28 +00:00
version = "0.1.5";
2025-01-08 22:21:09 +01:00
src = fetchFromGitHub {
owner = "github";
repo = "gh-skyline";
tag = "v${version}";
2025-04-14 23:17:28 +00:00
hash = "sha256-jcdOLoyOXq270SaObMpCD+ts6Hj8wqSAjUZWEg3F9+w=";
2025-01-08 22:21:09 +01:00
};
2025-04-14 23:17:28 +00:00
vendorHash = "sha256-rCFHYofUQlfRMP7bJav2se7oAkE7rS8KJl1n8kCsSag=";
2025-01-08 22:21:09 +01:00
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Generate a 3D model of your GitHub contribution history";
homepage = "https://github.com/github/gh-skyline";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ perchun ];
mainProgram = "gh-skyline";
};
}