nixpkgs/pkgs/applications/graphics/img-cat/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
586 B
Nix
Raw Normal View History

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 = "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 ];
};
}