5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
75 lines
1.2 KiB
Nix
75 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, python3
|
|
, vala
|
|
, accountsservice
|
|
, dbus
|
|
, desktop-file-utils
|
|
, fwupd
|
|
, geoclue2
|
|
, glib
|
|
, gobject-introspection
|
|
, gtk3
|
|
, granite
|
|
, libgee
|
|
, systemd
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-settings-daemon";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "settings-daemon";
|
|
rev = version;
|
|
sha256 = "sha256-mEmc9uLwUTObsP70P0G2vcRdQF6do/wMTQjvfLUU//o=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
vala
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
accountsservice
|
|
dbus
|
|
fwupd
|
|
geoclue2
|
|
glib
|
|
gtk3
|
|
granite
|
|
libgee
|
|
systemd
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x meson/post_install.py
|
|
patchShebangs meson/post_install.py
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Settings daemon for Pantheon";
|
|
homepage = "https://github.com/elementary/settings-daemon";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = teams.pantheon.members;
|
|
platforms = platforms.linux;
|
|
mainProgram = "io.elementary.settings-daemon";
|
|
};
|
|
}
|