xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / by-name / gn / gnome-initial-setup / package.nix
blob5f3b90677679c5b4df9e544ec49f72b06dd6e882
2   stdenv,
3   lib,
4   fetchurl,
5   substituteAll,
6   dconf,
7   gettext,
8   meson,
9   ninja,
10   pkg-config,
11   wrapGAppsHook4,
12   gnome,
13   accountsservice,
14   fontconfig,
15   gdm,
16   geoclue2,
17   geocode-glib_2,
18   glib,
19   gnome-desktop,
20   gtk4,
21   libgweather,
22   json-glib,
23   krb5,
24   libpwquality,
25   libsecret,
26   networkmanager,
27   pango,
28   polkit,
29   webkitgtk_6_0,
30   systemd,
31   libadwaita,
32   libnma-gtk4,
33   tzdata,
34   gnome-tecla,
35   gsettings-desktop-schemas,
38 stdenv.mkDerivation (finalAttrs: {
39   pname = "gnome-initial-setup";
40   version = "47.1";
42   src = fetchurl {
43     url = "mirror://gnome/sources/gnome-initial-setup/${lib.versions.major finalAttrs.version}/gnome-initial-setup-${finalAttrs.version}.tar.xz";
44     hash = "sha256-KTeKVkQG7Lzn8IzzklqA3TCCWoQ/kfzwWF45mecDUw0=";
45   };
47   patches = [
48     (substituteAll {
49       src = ./0001-fix-paths.patch;
50       inherit tzdata;
51       tecla = gnome-tecla;
52     })
53   ];
55   nativeBuildInputs = [
56     dconf
57     gettext
58     meson
59     ninja
60     pkg-config
61     systemd
62     wrapGAppsHook4
63   ];
65   buildInputs = [
66     accountsservice
67     fontconfig
68     gdm
69     geoclue2
70     geocode-glib_2
71     glib
72     gnome-desktop
73     gsettings-desktop-schemas
74     gtk4
75     json-glib
76     krb5
77     libgweather
78     libadwaita
79     libnma-gtk4
80     libpwquality
81     libsecret
82     networkmanager
83     pango
84     polkit
85     webkitgtk_6_0
86   ];
88   mesonFlags = [
89     "-Dibus=disabled"
90     "-Dparental_controls=disabled"
91     "-Dvendor-conf-file=${./vendor.conf}"
92   ];
94   passthru = {
95     updateScript = gnome.updateScript { packageName = "gnome-initial-setup"; };
96   };
98   meta = with lib; {
99     description = "Simple, easy, and safe way to prepare a new system";
100     homepage = "https://gitlab.gnome.org/GNOME/gnome-initial-setup";
101     changelog = "https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
102     license = licenses.gpl2Plus;
103     platforms = platforms.linux;
104     maintainers = teams.gnome.members;
105   };