2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchurl,
|
|
|
|
substituteAll,
|
|
|
|
dconf,
|
|
|
|
gettext,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
gnome,
|
|
|
|
accountsservice,
|
|
|
|
fontconfig,
|
|
|
|
gdm,
|
|
|
|
geoclue2,
|
|
|
|
geocode-glib_2,
|
|
|
|
glib,
|
|
|
|
gnome-desktop,
|
|
|
|
gtk4,
|
|
|
|
libgweather,
|
|
|
|
json-glib,
|
|
|
|
krb5,
|
|
|
|
libpwquality,
|
|
|
|
libsecret,
|
|
|
|
networkmanager,
|
|
|
|
pango,
|
|
|
|
polkit,
|
|
|
|
webkitgtk_6_0,
|
|
|
|
systemd,
|
|
|
|
libadwaita,
|
|
|
|
libnma-gtk4,
|
|
|
|
tzdata,
|
|
|
|
gnome-tecla,
|
|
|
|
gsettings-desktop-schemas,
|
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-initial-setup";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "46.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-06-05 15:53:02 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-initial-setup/${lib.versions.major finalAttrs.version}/gnome-initial-setup-${finalAttrs.version}.tar.xz";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-o/AQgp9NTI1J+Dqxz6uCG2GyeA6eC15Wicfv8/hE7T4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./0001-fix-paths.patch;
|
2024-01-02 11:29:13 +00:00
|
|
|
inherit tzdata;
|
|
|
|
tecla = gnome-tecla;
|
2021-05-20 23:08:51 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
dconf
|
2020-04-24 23:36:52 +00:00
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
systemd
|
2022-10-21 18:38:19 +00:00
|
|
|
wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
accountsservice
|
|
|
|
fontconfig
|
|
|
|
gdm
|
|
|
|
geoclue2
|
2022-10-21 18:38:19 +00:00
|
|
|
geocode-glib_2
|
2020-04-24 23:36:52 +00:00
|
|
|
glib
|
|
|
|
gnome-desktop
|
2020-11-12 09:05:59 +00:00
|
|
|
gsettings-desktop-schemas
|
2022-10-21 18:38:19 +00:00
|
|
|
gtk4
|
2020-04-24 23:36:52 +00:00
|
|
|
json-glib
|
|
|
|
krb5
|
|
|
|
libgweather
|
2022-10-21 18:38:19 +00:00
|
|
|
libadwaita
|
|
|
|
libnma-gtk4
|
2020-04-24 23:36:52 +00:00
|
|
|
libpwquality
|
|
|
|
libsecret
|
|
|
|
networkmanager
|
|
|
|
pango
|
|
|
|
polkit
|
2023-04-12 12:48:02 +00:00
|
|
|
webkitgtk_6_0
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dibus=disabled"
|
|
|
|
"-Dparental_controls=disabled"
|
|
|
|
"-Dvendor-conf-file=${./vendor.conf}"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2024-09-19 14:19:46 +00:00
|
|
|
updateScript = gnome.updateScript { packageName = "gnome-initial-setup"; };
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple, easy, and safe way to prepare a new system";
|
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-initial-setup";
|
2024-10-04 16:56:33 +00:00
|
|
|
changelog = "https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
2024-06-05 15:53:02 +00:00
|
|
|
})
|