depot/pkgs/by-name/gh/gh-i/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
712 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gh-i";
version = "0.0.8";
src = fetchFromGitHub {
owner = "gennaro-tedesco";
repo = "gh-i";
rev = "v${version}";
hash = "sha256-fW9T7B/97kI8zjaTvJHOkEUGVVM+ysOxZzqVNeOfVkc=";
};
vendorHash = "sha256-TSl+7N3W3BeW8UWxUdTv3cob2P7eLvO+80BLqcbhanQ=";
ldflags = [ "-s" ];
meta = with lib; {
description = "Search github issues interactively";
changelog = "https://github.com/gennaro-tedesco/gh-i/releases/tag/v${version}";
homepage = "https://github.com/gennaro-tedesco/gh-i";
license = licenses.asl20;
maintainers = with maintainers; [ phanirithvij ];
mainProgram = "gh-i";
};
}