Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
111 lines
2.0 KiB
Nix
111 lines
2.0 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
cinnamon-desktop,
|
|
cinnamon-translations,
|
|
colord,
|
|
glib,
|
|
gsettings-desktop-schemas,
|
|
gtk3,
|
|
lcms2,
|
|
libcanberra-gtk3,
|
|
libgnomekbd,
|
|
libnotify,
|
|
libxklavier,
|
|
wrapGAppsHook3,
|
|
pkg-config,
|
|
lib,
|
|
stdenv,
|
|
systemd,
|
|
upower,
|
|
dconf,
|
|
cups,
|
|
polkit,
|
|
librsvg,
|
|
libwacom,
|
|
xorg,
|
|
fontconfig,
|
|
tzdata,
|
|
nss,
|
|
libgudev,
|
|
meson,
|
|
ninja,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cinnamon-settings-daemon";
|
|
version = "6.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = "cinnamon-settings-daemon";
|
|
tag = version;
|
|
hash = "sha256-L7+OgymYoYBdprw66RW8tiGA7XGWjTBpDpXhli8Fjoo=";
|
|
};
|
|
|
|
patches = [
|
|
./csd-backlight-helper-fix.patch
|
|
];
|
|
|
|
buildInputs = [
|
|
cinnamon-desktop
|
|
colord
|
|
gtk3
|
|
glib
|
|
gsettings-desktop-schemas
|
|
lcms2
|
|
libcanberra-gtk3
|
|
libgnomekbd
|
|
libnotify
|
|
libxklavier
|
|
systemd
|
|
upower
|
|
dconf
|
|
cups
|
|
polkit
|
|
librsvg
|
|
libwacom
|
|
xorg.libXext
|
|
xorg.libX11
|
|
xorg.libXi
|
|
xorg.libXfixes
|
|
fontconfig
|
|
nss
|
|
libgudev
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
wrapGAppsHook3
|
|
pkg-config
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
postPatch = ''
|
|
sed "s|/usr/share/zoneinfo|${tzdata}/share/zoneinfo|g" -i plugins/datetime/system-timezone.h
|
|
'';
|
|
|
|
# use locales from cinnamon-translations (not using --localedir because datadir is used)
|
|
postInstall = ''
|
|
ln -s ${cinnamon-translations}/share/locale $out/share/locale
|
|
'';
|
|
|
|
# So the polkit policy can reference /run/current-system/sw/bin/cinnamon-settings-daemon/csd-backlight-helper
|
|
postFixup = ''
|
|
mkdir -p $out/bin/cinnamon-settings-daemon
|
|
ln -s $out/libexec/csd-backlight-helper $out/bin/cinnamon-settings-daemon/csd-backlight-helper
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/linuxmint/cinnamon-settings-daemon";
|
|
description = "Settings daemon for the Cinnamon desktop";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
teams = [ teams.cinnamon ];
|
|
};
|
|
}
|