pantheon.elementary-settings-daemon: 1.3.0 -> 1.3.1

https://github.com/elementary/settings-daemon/releases/tag/1.3.1
This commit is contained in:
Bobby Rong 2023-07-26 12:15:22 +08:00
parent 31f992d386
commit e7cfc23ce4
No known key found for this signature in database

View File

@ -23,13 +23,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-settings-daemon"; pname = "elementary-settings-daemon";
version = "1.3.0"; version = "1.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = "settings-daemon"; repo = "settings-daemon";
rev = version; rev = version;
sha256 = "sha256-464caR36oSUhxCU0utP5eMYiiBekU6W4bVIbsUoiFRI="; sha256 = "sha256-mEmc9uLwUTObsP70P0G2vcRdQF6do/wMTQjvfLUU//o=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -58,20 +58,8 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
chmod +x meson/post_install.py chmod +x meson/post_install.py
patchShebangs meson/post_install.py patchShebangs meson/post_install.py
substituteInPlace data/io.elementary.settings-daemon.check-for-firmware-updates.service \
--replace "/usr/bin/busctl" "${systemd}/bin/busctl"
''; '';
postInstall = ''
# https://github.com/elementary/settings-daemon/pull/75
mkdir -p $out/etc/xdg/autostart
ln -s $out/share/applications/io.elementary.settings-daemon.desktop $out/etc/xdg/autostart/io.elementary.settings-daemon.desktop
'';
# https://github.com/elementary/settings-daemon/pull/74
PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
}; };