nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gh-i";
9 version = "0.0.10";
10
11 src = fetchFromGitHub {
12 owner = "gennaro-tedesco";
13 repo = "gh-i";
14 rev = "v${version}";
15 hash = "sha256-k1xfQxRh8T0SINtbFlIVNFEODYU0RhBAkjudOv1bLvw=";
16 };
17
18 vendorHash = "sha256-eqSAwHFrvBxLl5zcZyp3+1wTf7+JmpogFBDuVgzNm+w=";
19
20 ldflags = [ "-s" ];
21
22 meta = {
23 description = "Search github issues interactively";
24 changelog = "https://github.com/gennaro-tedesco/gh-i/releases/tag/v${version}";
25 homepage = "https://github.com/gennaro-tedesco/gh-i";
26 license = lib.licenses.asl20;
27 maintainers = with lib.maintainers; [ phanirithvij ];
28 mainProgram = "gh-i";
29 };
30}