nixpkgs/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
2021-01-17 03:21:50 +01:00
, pkg-config
, python3
, vala
, accountsservice
, dbus
, desktop-file-utils
, geoclue2
, glib
, gobject-introspection
, gtk3
, granite
, libgee
, systemd
, wrapGAppsHook
}:
2018-08-20 22:31:18 +02:00
stdenv.mkDerivation rec {
pname = "elementary-settings-daemon";
version = "1.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "settings-daemon";
rev = version;
sha256 = "sha256-5QdCj2Z31t7dxZi7ZZ5g6qLgsMyw7rM5dRw0G8uoC6o=";
2018-08-20 22:31:18 +02:00
};
nativeBuildInputs = [
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
python3
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
dbus
2018-08-20 22:31:18 +02:00
geoclue2
glib
2019-02-13 22:47:50 +01:00
gtk3
granite
libgee
systemd
2018-08-20 22:31:18 +02:00
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
meta = with lib; {
description = "Settings daemon for Pantheon";
homepage = "https://github.com/elementary/settings-daemon";
license = licenses.gpl3Plus;
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
};
}