1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
{ lib, stdenv
, fetchurl
, substituteAll
, gettext
, meson
, ninja
, pkgconfig
, wrapGAppsHook
, gnome3
, accountsservice
, fontconfig
, gdm
, geoclue2
, geocode-glib
, glib
, gnome-desktop
, gnome-getting-started-docs
, gnome-online-accounts
, gtk3
, libgweather
, json-glib
, krb5
, libpwquality
, librest
, libsecret
, networkmanager
, pango
, polkit
, webkitgtk
, systemd
, libnma
, tzdata
, yelp
, libgnomekbd
, gsettings-desktop-schemas
, gnome-tour
}:
stdenv.mkDerivation rec {
pname = "gnome-initial-setup";
version = "3.38.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-qliJJ0+LC23moFErR3Qrgqw0ANrsgt1O/+LuonRko7g=";
};
nativeBuildInputs = [
gettext
meson
ninja
pkgconfig
systemd
wrapGAppsHook
];
buildInputs = [
accountsservice
fontconfig
gdm
geoclue2
geocode-glib
glib
gnome-desktop
gnome-getting-started-docs
gnome-online-accounts
gsettings-desktop-schemas
gtk3
json-glib
krb5
libgweather
libnma
libpwquality
librest
libsecret
networkmanager
pango
polkit
webkitgtk
];
patches = [
(substituteAll {
src = ./0001-fix-paths.patch;
inherit tzdata libgnomekbd;
gnome_tour = "${gnome-tour}/bin/gnome-tour";
})
];
mesonFlags = [
"-Dcheese=disabled"
"-Dibus=disabled"
"-Dparental_controls=disabled"
"-Dvendor-conf-file=${./vendor.conf}"
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with lib; {
description = "Simple, easy, and safe way to prepare a new system";
homepage = "https://gitlab.gnome.org/GNOME/gnome-initial-setup";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = teams.gnome.members;
};
}
|