depot/third_party/nixpkgs/pkgs/tools/misc/catimg/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

25 lines
586 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake } :
stdenv.mkDerivation rec {
pname = "catimg";
version = "2.7.0";
src = fetchFromGitHub {
owner = "posva";
repo = pname;
rev = version;
sha256 = "0a2dswbv4xddb2l2d55hc43lzvjwrjs5z9am7v6i0p0mi2fmc89s";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
license = licenses.mit;
homepage = "https://github.com/posva/catimg";
description = "Insanely fast image printing in your terminal";
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
mainProgram = "catimg";
};
}