msmtp: support passwordeval without final '\n'

This applies an upstream patch that removes the requirement for
passwordeval commands to print a `\n` character after the password.

+9 -1
+9 -1
pkgs/applications/networking/msmtp/default.nix
··· 1 - { stdenv, lib, fetchurl, autoreconfHook, pkgconfig 2 , openssl, netcat-gnu, gnutls, gsasl, libidn, Security 3 , withKeyring ? true, libsecret ? null 4 , systemd ? null }: ··· 19 20 patches = [ 21 ./paths.patch 22 ]; 23 24 buildInputs = [ openssl gnutls gsasl libidn ]
··· 1 + { stdenv, lib, fetchpatch, fetchurl, autoreconfHook, pkgconfig 2 , openssl, netcat-gnu, gnutls, gsasl, libidn, Security 3 , withKeyring ? true, libsecret ? null 4 , systemd ? null }: ··· 19 20 patches = [ 21 ./paths.patch 22 + 23 + # To support passwordeval commands that do not print a final 24 + # newline. 25 + (fetchpatch { 26 + name = "passwordeval-without-nl.patch"; 27 + url = "https://gitlab.marlam.de/marlam/msmtp/commit/df22dccf9d1af06fcd09dfdd0d6a38e1372dd5e8.patch"; 28 + sha256 = "06gbhvzi46zqigmmsin2aard7b9v3ihx62hbz5ljmfbj9rfs1x5y"; 29 + }) 30 ]; 31 32 buildInputs = [ openssl gnutls gsasl libidn ]