depot/third_party/nixpkgs/pkgs/applications/graphics/img-cat/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 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";
};
}