ueberzugpp: 2.8.1 -> 2.8.3

This commit is contained in:
Weijia Wang 2023-05-19 15:04:51 +03:00
parent 9758484940
commit 87a64c3979

View file

@ -14,22 +14,22 @@
, vips
, nlohmann_json
, libsixel
, microsoft_gsl
, opencv
, xorg
, withOpencv ? true
, withX11 ? true
, withOpencv ? stdenv.isLinux
, withX11 ? stdenv.isLinux
}:
stdenv.mkDerivation rec {
pname = "ueberzugpp";
version = "2.8.1";
version = "2.8.3";
src = fetchFromGitHub {
owner = "jstkdng";
repo = "ueberzugpp";
rev = "v${version}";
hash = "sha256-9FGuElHWuqTuzHNcb9p0HX0AFMmZc+MRc5+EP5cvBaA=";
hash = "sha256-U6jw1VQmc/E/vXBCVvjBsmLjhVf0MFuK+FK8jnEEl1M=";
};
nativeBuildInputs = [
@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
vips
nlohmann_json
libsixel
microsoft_gsl
] ++ lib.optionals withOpencv [
opencv
] ++ lib.optionals withX11 [
@ -62,13 +63,17 @@ stdenv.mkDerivation rec {
"-DENABLE_X11=OFF"
];
# error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
preBuild = lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0") ''
export MACOSX_DEPLOYMENT_TARGET=10.14
'';
meta = with lib; {
description = "Drop in replacement for ueberzug written in C++";
homepage = "https://github.com/jstkdng/ueberzugpp";
license = licenses.gpl3Plus;
mainProgram = "ueberzug";
maintainers = with maintainers; [ aleksana ];
maintainers = with maintainers; [ aleksana wegank ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}