Skip to content

Commit

Permalink
Merge pull request NixOS#248682 from linsui/sixel
Browse files Browse the repository at this point in the history
blackbox-terminal: support sixel
  • Loading branch information
NickCao authored Jan 15, 2024
2 parents b121f2f + caec251 commit 1f8d5f7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions pkgs/applications/terminal-emulators/blackbox-terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
, sassc
, libadwaita
, pcre2
, libsixel
, libxml2
, librsvg
, libgee
Expand All @@ -20,6 +21,7 @@
, gtk3
, desktop-file-utils
, wrapGAppsHook
, sixelSupport ? false
}:

let
Expand Down Expand Up @@ -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
Expand All @@ -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;
};
}

0 comments on commit 1f8d5f7

Please sign in to comment.