blackbox-terminal: support sixel

This commit is contained in:
linsui 2023-08-12 16:35:23 +08:00 committed by linsui
parent b45133e20d
commit c9b4e19fa7

View File

@ -12,6 +12,7 @@
, sassc , sassc
, libadwaita , libadwaita
, pcre2 , pcre2
, libsixel
, libxml2 , libxml2
, librsvg , librsvg
, libgee , libgee
@ -20,6 +21,7 @@
, gtk3 , gtk3
, desktop-file-utils , desktop-file-utils
, wrapGAppsHook , wrapGAppsHook
, sixelSupport ? false
}: }:
let let
@ -62,7 +64,18 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
gtk4 gtk4
vte-gtk4 (vte-gtk4.overrideAttrs (old: {
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "vte";
rev = "3c8f66be867aca6656e4109ce880b6ea7431b895";
hash = "sha256-vz9ircmPy2Q4fxNnjurkgJtuTSS49rBq/m61p1B43eU=";
};
} // lib.optionalAttrs sixelSupport {
buildInputs = old.buildInputs ++ [ libsixel ];
mesonFlags = old.mesonFlags ++ [ "-Dsixel=true" ];
}))
json-glib json-glib
marble marble
libadwaita libadwaita