diff options
| author | Robert Scott <code@humanleg.org.uk> | 2021-06-21 22:19:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-21 22:19:49 +0100 |
| commit | 0e03bcd64170e347a387211cb018f1ff9ea3d00d (patch) | |
| tree | d9e0a8674e931597d8e1ad10693dc9605fb4703d | |
| parent | Merge pull request #127719 from NixOS/backport-127667-to-release-21.05 (diff) | |
| parent | sylpheed: Use SNI; fixes TLSv1.3 to imap.gmail.com (diff) | |
| download | nixpkgs-0e03bcd64170e347a387211cb018f1ff9ea3d00d.tar.gz | |
Merge pull request #127596 from elohmeier/sylpheed-bp
[21.05] sylpheed: Use SNI; fixes TLSv1.3 to imap.gmail.com
| -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 48a212b4ffb1..9a65bec21c20 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 ] |
