2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-09-22 15:38:15 +00:00
|
|
|
, fetchFromGitHub
|
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
|
|
|
|
, 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";
|
2021-10-28 06:52:43 +00:00
|
|
|
version = "1.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
repoName = "settings-daemon";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = repoName;
|
|
|
|
rev = version;
|
2021-10-28 06:52:43 +00:00
|
|
|
sha256 = "sha256-1Xp1uJzDFuGZlhJhKj00cYtb4Q1syMAm+82fTOtk0VI=";
|
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
|
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
|
|
|
'';
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|