typora: 0.9.72 -> 0.9.73

This commit is contained in:
worldofpeace 2019-08-03 16:49:16 -04:00
parent e1f14ce823
commit 375d7ad859

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, electron_3, dpkg, gtk3, glib, gsettings-desktop-schemas, wrapGAppsHook }: { stdenv, fetchurl, makeWrapper, electron_5, dpkg, gtk3, glib, gsettings-desktop-schemas, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "typora"; pname = "typora";
version = "0.9.72"; version = "0.9.73";
src = fetchurl { src = fetchurl {
url = "https://www.typora.io/linux/typora_${version}_amd64.deb"; url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
sha256 = "0q7fj77pr3ykpwgip87h12qxvpvlzs15mi9w3phqm3p9mmm9rlrs"; sha256 = "1fgcb4bx5pw8ah5j30d38gw7qi1cmqarfhvgdns9f2n0d57bvvw3";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
''; '';
postFixup = '' postFixup = ''
makeWrapper ${electron_3}/bin/electron $out/bin/typora \ makeWrapper ${electron_5}/bin/electron $out/bin/typora \
--add-flags $out/share/typora \ --add-flags $out/share/typora \
"''${gappsWrapperArgs[@]}" \ "''${gappsWrapperArgs[@]}" \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}" --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}"
@ -50,6 +50,6 @@ stdenv.mkDerivation rec {
homepage = https://typora.io; homepage = https://typora.io;
license = licenses.unfree; license = licenses.unfree;
maintainers = with maintainers; [ jensbin worldofpeace ]; maintainers = with maintainers; [ jensbin worldofpeace ];
inherit (electron_3.meta) platforms; platforms = [ "x86_64-linux"];
}; };
} }