From e0174c26688ee24472e238447f8a81bc8dc26ed9 Mon Sep 17 00:00:00 2001 From: aleksana Date: Sun, 11 Feb 2024 21:36:53 +0800 Subject: [PATCH] ghfetch: init at 0.0.19 --- pkgs/by-name/gh/ghfetch/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/gh/ghfetch/package.nix diff --git a/pkgs/by-name/gh/ghfetch/package.nix b/pkgs/by-name/gh/ghfetch/package.nix new file mode 100644 index 000000000000..07991723d5da --- /dev/null +++ b/pkgs/by-name/gh/ghfetch/package.nix @@ -0,0 +1,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 = "A 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 ]; + }; +}