1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gitcs";
9 version = "1.2.0";
10
11 src = fetchFromGitHub {
12 owner = "knbr13";
13 repo = "gitcs";
14 rev = "v${version}";
15 hash = "sha256-IyhVVRTKftZIzqMH5pBUMLPIk8bk0rVAxPKD6bABP68=";
16 };
17
18 vendorHash = "sha256-8yzPdVljnODOeI5yWh19BHsF4Pa9BWc49IwenMCVGZo=";
19
20 ldflags = [ "-s" ];
21
22 meta = {
23 description = "Scan local git repositories and generate a visual contributions graph";
24 changelog = "https://github.com/knbr13/gitcs/releases/tag/v${version}";
25 homepage = "https://github.com/knbr13/gitcs";
26 license = lib.licenses.mit;
27 maintainers = with lib.maintainers; [ phanirithvij ];
28 mainProgram = "gitcs";
29 };
30}