heroic: use qt6 version of kdialog (#372495)
[NixPkgs.git] / pkgs / by-name / ci / cinnamon-control-center / package.nix
blob4bceb08d110f8375734f39b5e5d7a1504291c8ce
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pkg-config,
6   glib,
7   glib-networking,
8   gettext,
9   cinnamon-desktop,
10   gtk3,
11   libnotify,
12   libxml2,
13   colord,
14   polkit,
15   libxkbfile,
16   cinnamon-menus,
17   libgnomekbd,
18   libxklavier,
19   networkmanager,
20   libgudev,
21   libwacom,
22   wrapGAppsHook3,
23   glibc,
24   libnma,
25   modemmanager,
26   xorg,
27   gdk-pixbuf,
28   meson,
29   ninja,
30   cinnamon-translations,
31   python3,
32   upower,
35 stdenv.mkDerivation rec {
36   pname = "cinnamon-control-center";
37   version = "6.4.1";
39   src = fetchFromGitHub {
40     owner = "linuxmint";
41     repo = pname;
42     rev = version;
43     hash = "sha256-1Z+kXvBmENNXIqdZgPDx7ZSwJMFAm2oMih6eFFAsA/A=";
44   };
46   buildInputs = [
47     gtk3
48     glib
49     glib-networking
50     cinnamon-desktop
51     libnotify
52     cinnamon-menus
53     libxml2
54     polkit
55     libgnomekbd
56     libxklavier
57     colord
58     libgudev
59     libwacom
60     networkmanager
61     libnma
62     modemmanager
63     xorg.libXxf86misc
64     xorg.libxkbfile
65     gdk-pixbuf
66     upower
67   ];
69   postPatch = ''
70     patchShebangs meson_install_schemas.py
71   '';
73   mesonFlags = [
74     # use locales from cinnamon-translations
75     "--localedir=${cinnamon-translations}/share/locale"
76   ];
78   nativeBuildInputs = [
79     pkg-config
80     meson
81     ninja
82     wrapGAppsHook3
83     gettext
84     python3
85   ];
87   meta = with lib; {
88     homepage = "https://github.com/linuxmint/cinnamon-control-center";
89     description = "Collection of configuration plugins used in cinnamon-settings";
90     mainProgram = "cinnamon-control-center";
91     license = licenses.gpl2;
92     platforms = platforms.linux;
93     maintainers = teams.cinnamon.members;
94   };