2021-10-14 00:43:12 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, fetchFromGitLab
|
2021-10-14 00:43:12 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, libxml2
|
2023-04-12 12:48:02 +00:00
|
|
|
, gitUpdater
|
2021-10-14 00:43:12 +00:00
|
|
|
, nautilus
|
|
|
|
, glib
|
2022-10-21 18:38:19 +00:00
|
|
|
, gtk4
|
2021-10-14 00:43:12 +00:00
|
|
|
, gtk3
|
2024-01-02 11:29:13 +00:00
|
|
|
, libhandy
|
2021-10-14 00:43:12 +00:00
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, vte
|
|
|
|
, gettext
|
|
|
|
, which
|
|
|
|
, libuuid
|
|
|
|
, vala
|
|
|
|
, desktop-file-utils
|
|
|
|
, itstool
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2021-10-14 00:43:12 +00:00
|
|
|
, pcre2
|
|
|
|
, libxslt
|
|
|
|
, docbook-xsl-nons
|
2022-03-30 09:31:56 +00:00
|
|
|
, nixosTests
|
2021-10-14 00:43:12 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnome-terminal";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "3.52.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "gnome-terminal";
|
2024-06-05 15:53:02 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-c6xMUyhQnJiIrFnnUEx6vGVvFghGvLjTxiAFq+nSj2A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
which
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
glib # for glib-compile-schemas
|
|
|
|
docbook-xsl-nons
|
|
|
|
vala
|
|
|
|
desktop-file-utils
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2021-10-14 00:43:12 +00:00
|
|
|
pcre2
|
|
|
|
python3
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
2022-10-21 18:38:19 +00:00
|
|
|
gtk4
|
2021-10-14 00:43:12 +00:00
|
|
|
gtk3
|
2024-01-02 11:29:13 +00:00
|
|
|
libhandy
|
2021-10-14 00:43:12 +00:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
vte
|
|
|
|
libuuid
|
|
|
|
nautilus # For extension
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2021-10-14 00:43:12 +00:00
|
|
|
patchShebangs \
|
|
|
|
data/icons/meson_updateiconcache.py \
|
|
|
|
data/meson_desktopfile.py \
|
2023-04-12 12:48:02 +00:00
|
|
|
data/meson_metainfofile.py \
|
2021-10-14 00:43:12 +00:00
|
|
|
src/meson_compileschemas.py
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
2023-04-12 12:48:02 +00:00
|
|
|
updateScript = gitUpdater {
|
|
|
|
odd-unstable = true;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
tests = {
|
|
|
|
test = nixosTests.terminal-emulators.gnome-terminal;
|
|
|
|
};
|
|
|
|
};
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "GNOME Terminal Emulator";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gnome-terminal";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-terminal";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
2024-06-05 15:53:02 +00:00
|
|
|
})
|