nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "ghfetch";
9 version = "0.0.19";
10
11 src = fetchFromGitHub {
12 owner = "orangekame3";
13 repo = "ghfetch";
14 rev = "v${version}";
15 hash = "sha256-Cmyd/wrobHPyG9ExUSfSsTwFUfbo9iuvmAr0uqunWWw=";
16 };
17
18 vendorHash = "sha256-CPh9j5PJOSNvqgq/S9w+Kx3c5yIMHjc1AaqLwz9efeY=";
19
20 meta = with lib; {
21 description = "CLI tool to fetch GitHub user information and show like neofetch";
22 homepage = "https://github.com/orangekame3/ghfetch";
23 license = licenses.mit;
24 mainProgram = "ghfetch";
25 maintainers = with maintainers; [ aleksana ];
26 };
27}