summary refs log tree commit diff
path: root/pkgs/tools/misc/catimg/default.nix
blob: ac2f3f3411a2a16bf36e61e6042892edb8a5719e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, cmake } :

with stdenv.lib;

stdenv.mkDerivation rec {
  pname = "catimg";
  version = "2.6.0";

  src = fetchFromGitHub {
    owner = "posva";
    repo = pname;
    rev = version;
    sha256 = "0g9ywbgy162wiam9hc3yqpq5q4gyxa8fj4jskr3fdz8z8jjaabzz";
  };

  nativeBuildInputs = [ cmake ];

  meta = {
    license = licenses.mit;
    homepage = "https://github.com/posva/catimg";
    description = "Insanely fast image printing in your terminal";
    maintainers = with maintainers; [ ryantm ];
    platforms = platforms.unix;
  };

}