755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
629 B
Nix
27 lines
629 B
Nix
{ 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 ];
|
|
};
|
|
}
|