firefox: add option for chrome-gnome-shell native messaging host

This commit is contained in:
Rostislav Beneš 2018-01-13 15:20:01 +01:00 committed by Jan Tojnar
parent 38b6d7b60e
commit 062cafab8c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
, google_talk_plugin, fribid, gnome3/*.gnome_shell*/
, esteidfirefoxplugin
, vlc_npapi
, browserpass
, browserpass, chrome-gnome-shell
, libudev
, kerberos
}:
@ -63,6 +63,7 @@ let
nativeMessagingHosts =
([ ]
++ lib.optional (cfg.enableBrowserpass or false) browserpass
++ lib.optional (cfg.enableGnomeExtensions or false) chrome-gnome-shell
++ extraNativeMessagingHosts
);
libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])

View File

@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "GNOME Shell integration for Chrome";
longDescription = ''
To use the integration, install the <link xlink:href="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation">browser extension</link>, and then set <option>services.gnome3.chrome-gnome-shell.enable</option> to <literal>true</literal>.
To use the integration, install the <link xlink:href="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation">browser extension</link>, and then set <option>services.gnome3.chrome-gnome-shell.enable</option> to <literal>true</literal>. For Firefox based browsers, you will also need to build the wrappers with <option>nixpkgs.config.firefox.enableGnomeExtensions</option> set to <literal>true</literal>.
'';
license = licenses.gpl3;
maintainers = gnome3.maintainers;