typora: 1.9.3 -> 1.10.8 (#388417)

authored by Nick Cao and committed by GitHub de27f89d dc8228b4

+9 -5
+9 -5
pkgs/by-name/ty/typora/package.nix
··· 22 22 23 23 let 24 24 pname = "typora"; 25 - version = "1.9.3"; 25 + version = "1.10.8"; 26 26 src = fetchurl { 27 27 url = "https://download.typora.io/linux/typora_${version}_amd64.deb"; 28 - hash = "sha256-3rR/CvFFjRPkz27mm1Wt5hwgRUnLL7lpLFKA2moILx8="; 28 + hash = "sha256-7auxTtdVafvM2fIpQVvEey1Q6eLVG3mLdjdZXcqSE/Q="; 29 29 }; 30 30 31 31 typoraBase = stdenv.mkDerivation { ··· 38 38 39 39 installPhase = '' 40 40 runHook preInstall 41 + 41 42 mkdir -p $out/bin $out/share 42 43 mv usr/share $out 43 44 ln -s $out/share/typora/Typora $out/bin/Typora 45 + 44 46 runHook postInstall 45 47 ''; 46 48 }; ··· 119 121 120 122 installPhase = '' 121 123 runHook preInstall 124 + 122 125 mkdir -p $out/bin 123 126 ln -s ${launchScript} $out/bin/typora 124 127 ln -s ${typoraBase}/share/ $out 128 + 125 129 runHook postInstall 126 130 ''; 127 131 128 - meta = with lib; { 132 + meta = { 129 133 description = "Markdown editor, a markdown reader"; 130 134 homepage = "https://typora.io/"; 131 - license = licenses.unfree; 132 - maintainers = with maintainers; [ npulidomateo ]; 135 + license = lib.licenses.unfree; 136 + maintainers = with lib.maintainers; [ npulidomateo ]; 133 137 platforms = [ "x86_64-linux" ]; 134 138 mainProgram = "typora"; 135 139 };