Merge pull request #232795 from wegank/ueberzugpp-bump

ueberzugpp: 2.8.1 -> 2.8.3
This commit is contained in:
Weijia Wang 2023-05-19 16:11:11 +03:00 committed by GitHub
commit 4aafa10aec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};
}