Merge pull request #248682 from linsui/sixel

blackbox-terminal: support sixel
This commit is contained in:
Nick Cao 2024-01-15 10:17:58 -05:00 committed by GitHub
commit 1f8d5f7693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@
, sassc
, libadwaita
, pcre2
, libsixel
, libxml2
, librsvg
, libgee
@ -20,6 +21,7 @@
, gtk3
, desktop-file-utils
, wrapGAppsHook
, sixelSupport ? false
}:
let
@ -62,7 +64,18 @@ stdenv.mkDerivation rec {
];
buildInputs = [
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
marble
libadwaita
@ -80,7 +93,7 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.gnome.org/raggesilver/blackbox";
changelog = "https://gitlab.gnome.org/raggesilver/blackbox/-/raw/v${version}/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ chuangzhu ];
maintainers = with maintainers; [ chuangzhu linsui ];
platforms = platforms.linux;
};
}