2020-12-09 12:39:15 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "imgcat";
|
|
|
|
version = "1.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "trashhalo";
|
|
|
|
repo = "imgcat";
|
|
|
|
rev = "v${version}";
|
2023-08-10 07:59:29 +00:00
|
|
|
hash = "sha256-L2Yvp+UR6q45ctKsi0v45lKkSE7eJsUPvG7lpX8M6nQ=";
|
2020-12-09 12:39:15 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
vendorHash = "sha256-4kF+LwVNBY770wHLLcVlAqPoy4SNhbp2TxdNWRiJL6Q=";
|
2020-12-09 12:39:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A 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-29 20:09:43 +00:00
|
|
|
mainProgram = "imgcat";
|
2020-12-09 12:39:15 +00:00
|
|
|
};
|
|
|
|
}
|