1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

timg: 1.5.1 -> 1.5.2

Release notes:
https://github.com/hzeller/timg/releases/tag/v1.5.2

Important: fixes a buffer overflow issue.
This commit is contained in:
Henner Zeller 2023-08-17 05:06:03 -07:00
parent 496822cd2c
commit f1096ca538

View file

@ -1,26 +1,28 @@
{ lib
, stdenv
{ cmake
, fetchFromGitHub
, cmake
, pkg-config
, ffmpeg
, graphicsmagick
, lib
, libdeflate
, libexif
, libjpeg
, libsixel
, openslide
, pkg-config
, stb
, qoi
, stdenv
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "timg";
version = "1.5.1";
version = "1.5.2";
src = fetchFromGitHub {
owner = "hzeller";
repo = "timg";
rev = "v${version}";
hash = "sha256-hGQL6MAsaSVV/w5fDKAcd4KIBuh2pvl3D2QUzi/aeG0=";
rev = "v${finalAttrs.version}";
hash = "sha256-e2Uy1jvS0+gdhto4Sgz6YlqEqXJ7KGUAA6iuixfvvJg=";
};
buildInputs = [
@ -31,6 +33,8 @@ stdenv.mkDerivation rec {
libjpeg
libsixel
openslide
qoi.dev
stb
];
nativeBuildInputs = [ cmake pkg-config ];
@ -43,11 +47,12 @@ stdenv.mkDerivation rec {
"-DWITH_LIBSIXEL=On"
];
meta = with lib; {
homepage = "https://timg.sh/";
meta = {
description = "A terminal image and video viewer";
license = licenses.gpl2Only;
platforms = platforms.unix;
maintainers = with maintainers; [ hzeller ];
homepage = "https://timg.sh/";
license = lib.licenses.gpl2Only;
mainProgram = "timg";
maintainers = with lib.maintainers; [ hzeller ];
platforms = lib.platforms.unix;
};
}
})