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

wip/yesman
Rostislav Beneš 6 years ago committed by Jan Tojnar
parent 38b6d7b60e
commit 062cafab8c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 3
      pkgs/applications/networking/browsers/firefox/wrapper.nix
  2. 2
      pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix

@ -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 ])

@ -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;

Loading…
Cancel
Save