diff options
author | Enno Richter <enno@nerdworks.de> | 2021-06-15 10:04:36 +0200 |
---|---|---|
committer | Enno Richter <enno@nerdworks.de> | 2021-06-15 17:04:11 +0200 |
commit | f28175adcf42adbdddd97aae93d7875fd56e4241 (patch) | |
tree | 434d3099916eef9a72cab0f488de0543fd2c6427 /pkgs/applications/networking/mailreaders | |
parent | 4b7c8d538e1aed2bc30b6e7eb1cbd96063ad4132 (diff) | |
download | nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.tar nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.tar.gz nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.tar.bz2 nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.tar.lz nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.tar.xz nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.tar.zst nixpkgs-f28175adcf42adbdddd97aae93d7875fd56e4241.zip |
sylpheed: Use SNI; fixes TLSv1.3 to imap.gmail.com
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r-- | pkgs/applications/networking/mailreaders/sylpheed/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.nix b/pkgs/applications/networking/mailreaders/sylpheed/default.nix index 48a212b4ffb..9a65bec21c2 100644 --- a/pkgs/applications/networking/mailreaders/sylpheed/default.nix +++ b/pkgs/applications/networking/mailreaders/sylpheed/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkg-config, gtk2, openssl ? null, gpgme ? null -, gpgSupport ? true, sslSupport ? true }: +, gpgSupport ? true, sslSupport ? true, fetchpatch }: assert gpgSupport -> gpgme != null; assert sslSupport -> openssl != null; @@ -15,6 +15,17 @@ stdenv.mkDerivation rec { sha256 = "0j9y5vdzch251s264diw9clrn88dn20bqqkwfmis9l7m8vmwasqd"; }; + patches = [ + (fetchpatch { + # patch upstream bug https://sylpheed.sraoss.jp/redmine/issues/306 + name = "patch-libsylph_ssl_c.patch"; + url = "https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/mail/sylpheed/patches/patch-libsylph_ssl_c?rev=1.4&content-type=text/plain"; + sha256 = "sha256-k9OwPtHrEjaxXdH0trNqXgJMhR8kjgtei9pi6OFvILk="; + }) + ]; + + patchFlags = [ "-p0" ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ gtk2 ] |