2021-11-26 09:51:18 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-07-18 14:33:27 +02:00
|
|
|
, fetchFromGitHub
|
2019-12-08 02:04:58 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 03:21:50 +01:00
|
|
|
, pkg-config
|
2021-07-18 14:33:27 +02:00
|
|
|
, python3
|
|
|
|
, vala
|
2019-12-08 02:04:58 +01:00
|
|
|
, accountsservice
|
2021-07-18 14:33:27 +02:00
|
|
|
, dbus
|
|
|
|
, desktop-file-utils
|
|
|
|
, geoclue2
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, granite
|
|
|
|
, libgee
|
2021-10-26 02:42:26 +02:00
|
|
|
, systemd
|
2019-12-08 02:04:58 +01:00
|
|
|
, wrapGAppsHook
|
2019-03-15 21:30:00 +01:00
|
|
|
}:
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-settings-daemon";
|
2022-05-18 07:46:25 +02:00
|
|
|
version = "1.2.0";
|
2019-03-15 21:30:00 +01:00
|
|
|
|
2021-07-18 14:33:27 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2022-01-19 15:50:20 +01:00
|
|
|
repo = "settings-daemon";
|
2021-07-18 14:33:27 +02:00
|
|
|
rev = version;
|
2022-05-18 07:46:25 +02:00
|
|
|
sha256 = "sha256-5QdCj2Z31t7dxZi7ZZ5g6qLgsMyw7rM5dRw0G8uoC6o=";
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-07-18 14:33:27 +02:00
|
|
|
desktop-file-utils
|
|
|
|
gobject-introspection
|
2018-08-20 22:31:18 +02:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2019-12-08 02:04:58 +01:00
|
|
|
python3
|
2021-07-18 14:33:27 +02:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
2018-08-20 22:31:18 +02:00
|
|
|
];
|
|
|
|
|
2019-02-13 22:47:50 +01:00
|
|
|
buildInputs = [
|
2018-08-20 22:31:18 +02:00
|
|
|
accountsservice
|
2021-07-18 14:33:27 +02:00
|
|
|
dbus
|
2018-08-20 22:31:18 +02:00
|
|
|
geoclue2
|
|
|
|
glib
|
2019-02-13 22:47:50 +01:00
|
|
|
gtk3
|
2021-07-18 14:33:27 +02:00
|
|
|
granite
|
|
|
|
libgee
|
2021-10-26 02:42:26 +02:00
|
|
|
systemd
|
2018-08-20 22:31:18 +02:00
|
|
|
];
|
|
|
|
|
2019-12-08 02:04:58 +01:00
|
|
|
postPatch = ''
|
2021-07-18 14:33:27 +02:00
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
2019-12-08 02:04:58 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-07-18 14:33:27 +02:00
|
|
|
description = "Settings daemon for Pantheon";
|
|
|
|
homepage = "https://github.com/elementary/settings-daemon";
|
|
|
|
license = licenses.gpl3Plus;
|
2021-09-18 17:00:51 +02:00
|
|
|
maintainers = teams.pantheon.members;
|
2018-08-20 22:31:18 +02:00
|
|
|
platforms = platforms.linux;
|
2021-10-28 04:47:36 +02:00
|
|
|
mainProgram = "io.elementary.settings-daemon";
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
}
|