anchor.diff:  , lib
   , fetchurl
   , makeWrapper
  -, electron_5
  +, electron_8
   , dpkg
   , gtk3
   , glib
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "typora";
    version = "0.9.73";
  
    src = fetchurl {
      url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
      sha256 = "1fgcb4bx5pw8ah5j30d38gw7qi1cmqarfhvgdns9f2n0d57bvvw3";
    };
  
    nativeBuildInputs = [
  
negative.code:   '';
  
    postFixup = ''
      makeWrapper ${electron_8}/bin/electron $out/bin/typora \
        --add-flags $out/share/typora \
        "''${gappsWrapperArgs[@]}" \
        ${lib.optionalString withPandoc ''--prefix PATH : "${lib.makeBinPath [ pandoc ]}"''} \
  