summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/gh/ghfetch/package.nix
blob: d03ef59c446a1b689c4c09bf5e92051edfd710a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule (finalAttrs: {
  pname = "ghfetch";
  version = "0.0.19";

  src = fetchFromGitHub {
    owner = "orangekame3";
    repo = "ghfetch";
    rev = "v${finalAttrs.version}";
    hash = "sha256-Cmyd/wrobHPyG9ExUSfSsTwFUfbo9iuvmAr0uqunWWw=";
  };

  vendorHash = "sha256-CPh9j5PJOSNvqgq/S9w+Kx3c5yIMHjc1AaqLwz9efeY=";

  meta = {
    description = "CLI tool to fetch GitHub user information and show like neofetch";
    homepage = "https://github.com/orangekame3/ghfetch";
    license = lib.licenses.mit;
    mainProgram = "ghfetch";
    maintainers = with lib.maintainers; [ aleksana ];
  };
})