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:
parent
496822cd2c
commit
f1096ca538
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue