2020-10-28 14:21:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "imgcat";
|
|
|
|
version = "1.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "trashhalo";
|
|
|
|
repo = "imgcat";
|
|
|
|
rev = "v${version}";
|
2023-08-08 05:05:41 +00:00
|
|
|
hash = "sha256-L2Yvp+UR6q45ctKsi0v45lKkSE7eJsUPvG7lpX8M6nQ=";
|
2020-10-28 14:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-08-08 05:05:41 +00:00
|
|
|
vendorHash = "sha256-4kF+LwVNBY770wHLLcVlAqPoy4SNhbp2TxdNWRiJL6Q=";
|
2020-10-28 14:21:41 +00:00
|
|
|
|
|
|
|
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 ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "imgcat";
|
2020-10-28 14:21:41 +00:00
|
|
|
};
|
|
|
|
}
|