{ lib , stdenv , fetchurl , gettext , gnome , libgtop , gtk3 , libhandy , pcre2 , vte , appstream-glib , desktop-file-utils , git , meson , ninja , pkg-config , python3 , sassc , wrapGAppsHook , nixosTests }: stdenv.mkDerivation rec { pname = "gnome-console"; version = "42.beta"; src = fetchurl { url = "mirror://gnome/sources/gnome-console/${lib.versions.major version}/${pname}-${version}.tar.xz"; sha256 = "Lq/shyAhDcwB5HqpihvGx2+xwVU2Xax7/NerFwR36DQ="; }; buildInputs = [ gettext libgtop gnome.nautilus gtk3 libhandy pcre2 vte ]; nativeBuildInputs = [ appstream-glib desktop-file-utils git meson ninja pkg-config python3 sassc wrapGAppsHook ]; passthru = { updateScript = gnome.updateScript { packageName = pname; }; }; passthru.tests.test = nixosTests.terminal-emulators.kgx; meta = with lib; { description = "Simple user-friendly terminal emulator for the GNOME desktop"; homepage = "https://gitlab.gnome.org/GNOME/console"; license = licenses.gpl3Plus; maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]); platforms = platforms.linux; }; }