From bbf1124513eb642549fc7406cc8e98b01dd7526c Mon Sep 17 00:00:00 2001 From: phanirithvij Date: Tue, 6 Aug 2024 21:19:45 +0530 Subject: gitcs: init at 1.2.0 Signed-off-by: phanirithvij --- pkgs/by-name/gi/gitcs/package.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/gi/gitcs/package.nix (limited to 'pkgs/by-name/gi') 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"; + }; +} -- cgit 1.4.1