30 , cinnamon-translations
35 stdenv.mkDerivation rec {
36 pname = "cinnamon-control-center";
39 src = fetchFromGitHub {
43 hash = "sha256-Blod69RzPTE3DztRo0PK0MKCE+vq0HWrcJcC/1e8eRI=";
70 /* ./panels/datetime/test-timezone.c:4:#define TZ_DIR "/usr/share/zoneinfo/"
71 ./panels/datetime/tz.h:32:# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"
72 ./panels/datetime/tz.h:34:# define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab" */
75 sed 's|TZ_DIR "/usr/share/zoneinfo/"|TZ_DIR "${tzdata}/share/zoneinfo/"|g' -i ./panels/datetime/test-timezone.c
76 sed 's|TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"|TZ_DATA_FILE "${tzdata}/share/zoneinfo/zone.tab"|g' -i ./panels/datetime/tz.h
77 sed 's|"/usr/share/i18n/locales/"|"${glibc}/share/i18n/locales/"|g' -i panels/datetime/test-endianess.c
79 patchShebangs meson_install_schemas.py
83 # use locales from cinnamon-translations
84 "--localedir=${cinnamon-translations}/share/locale"
97 homepage = "https://github.com/linuxmint/cinnamon-control-center";
98 description = "Collection of configuration plugins used in cinnamon-settings";
99 mainProgram = "cinnamon-control-center";
100 license = licenses.gpl2;
101 platforms = platforms.linux;
102 maintainers = teams.cinnamon.members;