1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

claws-mail: add glib_networking for fancy to load HTTPS content (#10421)

This commit is contained in:
Bryan Gardiner 2015-10-20 22:23:01 -07:00
parent 0ff2240da3
commit f2afad2349
No known key found for this signature in database
GPG key ID: 53EFBCA063E6183C
2 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,8 @@
{ fetchurl, stdenv
{ fetchurl, stdenv, wrapGAppsHook
, curl, dbus, dbus_glib, enchant, gtk, gnutls, gnupg, gpgme, hicolor_icon_theme
, libarchive, libcanberra, libetpan, libnotify, libsoup, libxml2, networkmanager
, openldap , perl, pkgconfig, poppler, python, shared_mime_info, webkitgtk2
, glib_networking, gsettings_desktop_schemas
# Build options
# TODO: A flag to build the manual.
@ -55,8 +56,8 @@ stdenv.mkDerivation {
'';
buildInputs =
[ curl dbus dbus_glib gtk gnutls hicolor_icon_theme
libetpan perl pkgconfig python
[ curl dbus dbus_glib gtk gnutls gsettings_desktop_schemas hicolor_icon_theme
libetpan perl pkgconfig python wrapGAppsHook
]
++ optional enableSpellcheck enchant
++ optionals (enablePgp || enablePluginSmime) [ gnupg gpgme ]
@ -91,6 +92,9 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
wrapPrefixVariables = [ "GIO_EXTRA_MODULES" ];
GIO_EXTRA_MODULES = "${glib_networking}/lib/gio/modules";
postInstall = ''
mkdir -p $out/share/applications
cp claws-mail.desktop $out/share/applications

View file

@ -11121,6 +11121,7 @@ let
cinelerra = callPackage ../applications/video/cinelerra { };
clawsMail = callPackage ../applications/networking/mailreaders/claws-mail {
inherit (gnome3) gsettings_desktop_schemas;
enableNetworkManager = config.networking.networkmanager.enable or false;
};