nixpkgs/pkgs/tools/misc/catimg/default.nix

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

26 lines
586 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchFromGitHub, cmake } :
2019-03-02 19:19:51 +00:00
stdenv.mkDerivation rec {
pname = "catimg";
2020-09-24 23:19:01 +00:00
version = "2.7.0";
2019-03-02 19:19:51 +00:00
src = fetchFromGitHub {
owner = "posva";
repo = pname;
rev = version;
2020-09-24 23:19:01 +00:00
sha256 = "0a2dswbv4xddb2l2d55hc43lzvjwrjs5z9am7v6i0p0mi2fmc89s";
2019-03-02 19:19:51 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2019-03-02 19:19:51 +00:00
license = licenses.mit;
homepage = "https://github.com/posva/catimg";
description = "Insanely fast image printing in your terminal";
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
2023-08-16 18:56:27 +00:00
mainProgram = "catimg";
2019-03-02 19:19:51 +00:00
};
}