claws-mail: 3.14.1 -> 3.15.0

This commit is contained in:
Franz Pletz 2017-04-24 20:23:44 +02:00
parent bede043070
commit 07cc3eb0d0
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
, curl, dbus, dbus_glib, enchant, gtk2, gnutls, gnupg, gpgme, hicolor_icon_theme , curl, dbus, dbus_glib, enchant, gtk2, gnutls, gnupg, gpgme, hicolor_icon_theme
, libarchive, libcanberra_gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager , libarchive, libcanberra_gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager
, openldap , perl, pkgconfig, poppler, python, shared_mime_info, webkitgtk2 , openldap , perl, pkgconfig, poppler, python, shared_mime_info, webkitgtk2
, glib_networking, gsettings_desktop_schemas , glib_networking, gsettings_desktop_schemas, libSM, libytnef
# Build options # Build options
# TODO: A flag to build the manual. # TODO: A flag to build the manual.
@ -32,23 +32,27 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "claws-mail-${version}"; name = "claws-mail-${version}";
version = "3.14.1"; version = "3.15.0";
src = fetchurl { src = fetchurl {
url = "http://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz"; url = "http://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz";
sha256 = "0df34gj4r5cbb92834hph19gnh7ih9rgmmw47rliyg8b9z01v6mp"; sha256 = "0bnwd3l04y6j1nw3h861rdy6k6lyjzsi51j04d33vbpq8c6jskaf";
}; };
patches = [ ./mime.patch ]; patches = [ ./mime.patch ];
hardeningDisable = [ "format" ];
postPatch = '' postPatch = ''
substituteInPlace src/procmime.c \ substituteInPlace src/procmime.c \
--subst-var-by MIMEROOTDIR ${shared_mime_info}/share --subst-var-by MIMEROOTDIR ${shared_mime_info}/share
''; '';
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = buildInputs =
[ curl dbus dbus_glib gtk2 gnutls gsettings_desktop_schemas hicolor_icon_theme [ curl dbus dbus_glib gtk2 gnutls gsettings_desktop_schemas hicolor_icon_theme
libetpan perl pkgconfig python wrapGAppsHook glib_networking libetpan perl python glib_networking libSM libytnef
] ]
++ optional enableSpellcheck enchant ++ optional enableSpellcheck enchant
++ optionals (enablePgp || enablePluginSmime) [ gnupg gpgme ] ++ optionals (enablePgp || enablePluginSmime) [ gnupg gpgme ]