2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-09-22 15:38:15 +00:00
|
|
|
, fetchFromGitHub
|
2022-06-16 17:23:12 +00:00
|
|
|
, nix-update-script
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2021-09-22 15:38:15 +00:00
|
|
|
, python3
|
|
|
|
, vala
|
2020-04-24 23:36:52 +00:00
|
|
|
, accountsservice
|
2021-09-22 15:38:15 +00:00
|
|
|
, dbus
|
|
|
|
, desktop-file-utils
|
2023-08-04 22:07:22 +00:00
|
|
|
, fwupd
|
2021-09-22 15:38:15 +00:00
|
|
|
, geoclue2
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, granite
|
|
|
|
, libgee
|
2021-10-28 06:52:43 +00:00
|
|
|
, systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-settings-daemon";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "1.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2022-01-26 04:04:25 +00:00
|
|
|
repo = "settings-daemon";
|
2021-09-22 15:38:15 +00:00
|
|
|
rev = version;
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-mEmc9uLwUTObsP70P0G2vcRdQF6do/wMTQjvfLUU//o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-09-22 15:38:15 +00:00
|
|
|
desktop-file-utils
|
|
|
|
gobject-introspection
|
2020-04-24 23:36:52 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
python3
|
2021-09-22 15:38:15 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
accountsservice
|
2021-09-22 15:38:15 +00:00
|
|
|
dbus
|
2023-08-04 22:07:22 +00:00
|
|
|
fwupd
|
2020-04-24 23:36:52 +00:00
|
|
|
geoclue2
|
|
|
|
glib
|
|
|
|
gtk3
|
2021-09-22 15:38:15 +00:00
|
|
|
granite
|
|
|
|
libgee
|
2021-10-28 06:52:43 +00:00
|
|
|
systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2021-09-22 15:38:15 +00:00
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
passthru = {
|
2022-12-28 21:21:41 +00:00
|
|
|
updateScript = nix-update-script { };
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-09-22 15:38:15 +00:00
|
|
|
description = "Settings daemon for Pantheon";
|
|
|
|
homepage = "https://github.com/elementary/settings-daemon";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = teams.pantheon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2021-12-06 16:07:01 +00:00
|
|
|
mainProgram = "io.elementary.settings-daemon";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|