about summary refs log tree commit diff
path: root/pkgs/by-name/gh/ghfetch/package.nix
blob: 79a4c187dc0abac2459779240b4f2e4ceb8e99d3 (plain) (blame)
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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "ghfetch";
  version = "0.0.19";

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

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

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