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/'
24 lines
612 B
Nix
24 lines
612 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "imgcat";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "trashhalo";
|
|
repo = "imgcat";
|
|
rev = "v${version}";
|
|
hash = "sha256-L2Yvp+UR6q45ctKsi0v45lKkSE7eJsUPvG7lpX8M6nQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-4kF+LwVNBY770wHLLcVlAqPoy4SNhbp2TxdNWRiJL6Q=";
|
|
|
|
meta = with lib; {
|
|
description = "Tool to output images as RGB ANSI graphics on the terminal";
|
|
homepage = "https://github.com/trashhalo/imgcat";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ penguwin ];
|
|
mainProgram = "imgcat";
|
|
};
|
|
}
|