anchor.diff:    meta = with stdenv.lib; {
       description = "Simple and easy to use SMTP client with excellent sendmail compatibility";
       homepage = https://marlam.de/msmtp/;
  -    license = licenses.gpl3;
  +    license = licenses.gpl3Plus;
       maintainers = with maintainers; [ garbas peterhoeg ];
       platforms = platforms.unix;
     };
  
positive.code: in stdenv.mkDerivation rec {
    pname = "msmtp";
    name = "${pname}-${version}";
    version = "1.6.8";
  
    src = fetchurl {
      url = "https://marlam.de/msmtp/releases/${name}.tar.xz";
      sha256 = "1ysrnshvwhzwmvb2walw5i9jdzlvmckj7inr0xnvb26q0jirbzsm";
    };
  
    patches = [
      ./paths.patch
  
      # To support passwordeval commands that do not print a final
      # newline.
      (fetchpatch {
        name = "passwordeval-without-nl.patch";
        url = "https://gitlab.marlam.de/marlam/msmtp/commit/df22dccf9d1af06fcd09dfdd0d6a38e1372dd5e8.patch";
        sha256 = "06gbhvzi46zqigmmsin2aard7b9v3ihx62hbz5ljmfbj9rfs1x5y";
      })
    ];
  
    buildInputs = [ openssl gnutls gsasl libidn ]
      ++ stdenv.lib.optional stdenv.isDarwin Security
      ++ stdenv.lib.optional withKeyring libsecret;
  
  
negative.code: { stdenv, lib, fetchurl, autoreconfHook, pkgconfig
  , netcat-gnu, gnutls, gsasl, libidn2, Security
  , withKeyring ? true, libsecret ? null
  , systemd ? null }:
  
  