anchor.diff:  
       ln -s $out/share/mailspring/mailspring $out/bin/mailspring
       ln -s ${openssl.out}/lib/libcrypto.so $out/lib/libcrypto.so.1.0.0
  +
  +    runHook postInstall
     '';
   
     postFixup = /* sh */ ''
  -    substituteInPlace $out/share/applications/mailspring.desktop \
  -      --replace /usr/bin $out/bin
  +    substituteInPlace $out/share/applications/Mailspring.desktop \
  +      --replace Exec=mailspring Exec=$out/bin/mailspring
     '';
   
     meta = with lib; {
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "mailspring";
    version = "1.8.0";
  
    src = fetchurl {
      url = "https://github.com/Foundry376/Mailspring/releases/download/${version}/mailspring-${version}-amd64.deb";
      sha256 = "BtzYcHN87qH7s3GiBrsDfmuy9v2xdhCeSShu8+T9T3E=";
    };
  
    nativeBuildInputs = [
  
negative.code:       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.gpl3Plus;
      maintainers = with maintainers; [ toschmidt doronbehar ];
      homepage = "https://getmailspring.com";
      downloadPage = "https://github.com/Foundry376/Mailspring";
      platforms = platforms.x86_64;
  