{ lib , stdenv , fetchFromGitHub , nix-update-script , pkg-config , meson , ninja , vala , gtk3 , libgee , granite , polkit , wrapGAppsHook3 }: stdenv.mkDerivation rec { pname = "pantheon-agent-polkit"; version = "1.0.5"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; sha256 = "sha256-sC+Ec8a/17EfHsSRKQflBlzv9XAFjUVhjX691gIVa2A="; }; nativeBuildInputs = [ meson ninja pkg-config vala wrapGAppsHook3 ]; buildInputs = [ granite gtk3 libgee polkit ]; passthru = { updateScript = nix-update-script { }; }; meta = with lib; { description = "Polkit Agent for the Pantheon Desktop"; homepage = "https://github.com/elementary/pantheon-agent-polkit"; license = licenses.lgpl21Plus; platforms = platforms.linux; maintainers = teams.pantheon.members; }; }