anchor.diff:        Mailspring is an open-source mail client forked from Nylas Mail and built with Electron.
         Mailspring's sync engine runs locally, but its source is not open.
       '';
  -    license = licenses.unfree;
  -    maintainers = with maintainers; [ toschmidt ];
  +    license = licenses.gpl3Plus;
  +    maintainers = with maintainers; [ toschmidt doronbehar ];
       homepage = "https://getmailspring.com";
       downloadPage = "https://github.com/Foundry376/Mailspring";
       platforms = platforms.x86_64;
  
positive.code: 
      ln -s $out/share/mailspring/mailspring $out/bin/mailspring
      ln -s ${openssl.out}/lib/libcrypto.so $out/lib/libcrypto.so.1.0.0
    '';
  
    postFixup = /* sh */ ''
      substituteInPlace $out/share/applications/mailspring.desktop \
        --replace /usr/bin $out/bin
    '';
  
    meta = with lib; {
  
negative.code:     alsaLib
      db
      glib
      gtk3
      libkrb5
      libsecret
      nss
  