diff options
author | Marcus Ramberg | 2024-08-08 08:08:57 +0200 |
---|---|---|
committer | GitHub | 2024-08-08 08:08:57 +0200 |
commit | a138aeb0e28e96c8fcd4a8aa6acb61aca1ee1852 (patch) | |
tree | 161b0ff5c5f60358cdc69589586595ac0d86fb9c /pkgs/by-name/gi | |
parent | ab4feef535261fd2cfe51e02dee035f43106a9ef (diff) | |
parent | bbf1124513eb642549fc7406cc8e98b01dd7526c (diff) |
Merge pull request #332765 from phanirithvij/initial-contrib
Diffstat (limited to 'pkgs/by-name/gi')
-rw-r--r-- | pkgs/by-name/gi/gitcs/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/gitcs/package.nix b/pkgs/by-name/gi/gitcs/package.nix new file mode 100644 index 000000000000..eec5ebc7203b --- /dev/null +++ b/pkgs/by-name/gi/gitcs/package.nix @@ -0,0 +1,30 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "gitcs"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "knbr13"; + repo = "gitcs"; + rev = "v${version}"; + hash = "sha256-IyhVVRTKftZIzqMH5pBUMLPIk8bk0rVAxPKD6bABP68="; + }; + + vendorHash = "sha256-8yzPdVljnODOeI5yWh19BHsF4Pa9BWc49IwenMCVGZo="; + + ldflags = [ "-s" ]; + + meta = with lib; { + description = "Scan local git repositories and generate a visual contributions graph"; + changelog = "https://github.com/knbr13/gitcs/releases/tag/v${version}"; + homepage = "https://github.com/knbr13/gitcs"; + license = licenses.mit; + maintainers = with maintainers; [ phanirithvij ]; + mainProgram = "gitcs"; + }; +} |