Merge pull request #154042 from hzeller/update-timg-1.4.2-1.4.3

timg: 1.4.2 -> 1.4.3
This commit is contained in:
Anderson Torres 2022-01-08 21:09:58 -03:00 committed by GitHub
commit 7a0f9a5c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,18 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, graphicsmagick, libjpeg
, ffmpeg, zlib, libexif }:
, ffmpeg, zlib, libexif, openslide }:
stdenv.mkDerivation rec {
pname = "timg";
version = "1.4.2";
version = "1.4.3";
src = fetchFromGitHub {
owner = "hzeller";
repo = "timg";
rev = "v${version}";
sha256 = "1zjcaxnik8imkn22g5kz6zly3yxpknrzd093sfxpgqnfw4sq8149";
sha256 = "1lanr2y9rchl0xmycsyl0bhnh9mrmr5dj46pglw4lykz4rxslzcx";
};
buildInputs = [ graphicsmagick ffmpeg libexif libjpeg zlib ];
buildInputs = [ graphicsmagick ffmpeg libexif libjpeg openslide zlib ];
nativeBuildInputs = [ cmake pkg-config ];
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
"-DTIMG_VERSION_FROM_GIT=Off"
"-DWITH_VIDEO_DECODING=On"
"-DWITH_VIDEO_DEVICE=On"
"-DWITH_OPENSLIDE_SUPPORT=Off" # https://openslide.org/ lib not yet in nix
"-DWITH_OPENSLIDE_SUPPORT=On"
];
meta = with lib; {