lol

Merge pull request #273559 from YorikSar/update-discord

discord: 0.0.35 -> 0.0.37

authored by

Nick Cao and committed by
GitHub
80868039 81256a3c

+20 -19
+20 -19
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 1 1 { branch ? "stable", callPackage, fetchurl, lib, stdenv }: 2 2 let 3 - versions = if stdenv.isLinux then { 4 - stable = "0.0.35"; 5 - ptb = "0.0.56"; 6 - canary = "0.0.184"; 7 - development = "0.0.0"; 8 - } else { 9 - stable = "0.0.284"; 10 - ptb = "0.0.87"; 11 - canary = "0.0.340"; 12 - development = "0.0.2"; 13 - }; 3 + versions = 4 + if stdenv.isLinux then { 5 + stable = "0.0.37"; 6 + ptb = "0.0.59"; 7 + canary = "0.0.213"; 8 + development = "0.0.1"; 9 + } else { 10 + stable = "0.0.287"; 11 + ptb = "0.0.90"; 12 + canary = "0.0.365"; 13 + development = "0.0.10"; 14 + }; 14 15 version = versions.${branch}; 15 16 srcs = rec { 16 17 x86_64-linux = { 17 18 stable = fetchurl { 18 19 url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; 19 - hash = "sha256-VcSRV9LDiUXduRt20kVeAnwinl6FmACQgn//W6eFyys="; 20 + hash = "sha256-uyflZ1Zks7M1Re6DxuNUAkIuPY4wFSydf2AGMtIube8="; 20 21 }; 21 22 ptb = fetchurl { 22 23 url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; 23 - hash = "sha256-RDXApmhlu2aQTjWVXMyRp0CL29btsQufIPuxjjtJGIU="; 24 + hash = "sha256-WhDEyRMjuy2e1N51tUj3v97Y0qWabCFPThaehadXFWs="; 24 25 }; 25 26 canary = fetchurl { 26 27 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 27 - hash = "sha256-Pu0kei/ls9yrDEpRQcgDAaEkRbYkFmp/jTwOkljoy18="; 28 + hash = "sha256-DGRq58Xj5p/7BunY/vFds9LVmxYOl9LcF8ESHrCLly4="; 28 29 }; 29 30 development = fetchurl { 30 31 url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; 31 - hash = "sha256-/+9NyreRkXu2++uhwCh3/C1Cos39hfzB0Yjf0Otg9pk="; 32 + hash = "sha256-unzPakomF2hmiikrNfnOueBdcuZCz2z3oCA7Djn6OmY="; 32 33 }; 33 34 }; 34 35 x86_64-darwin = { 35 36 stable = fetchurl { 36 37 url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg"; 37 - hash = "sha256-TTzhc6P0hFG9BFMviNx8CCg1cVEKDiB3gtb8oR/slNA="; 38 + hash = "sha256-DTkWrUgSYP98IVFTWcm4muRR91Kfvs5pBxc1tvPmj/s="; 38 39 }; 39 40 ptb = fetchurl { 40 41 url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; 41 - hash = "sha256-cl6+kTth/7j+HJHPU4Oy1N5EnmMbpdvltKzrU1by+Ik="; 42 + hash = "sha256-wOTgcHRUu/CjdnvQVNL+rkazhVbZjwI+UbfmsF6aveg="; 42 43 }; 43 44 canary = fetchurl { 44 45 url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg"; 45 - hash = "sha256-LfixXyCoTnifw2GVAnCDnBla757JyGzbvUJwY4UhgGI="; 46 + hash = "sha256-a4MyO2Wst+ZYNSpUaF0TXJKtDQcPRLehapwRzp10R2k="; 46 47 }; 47 48 development = fetchurl { 48 49 url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg"; 49 - hash = "sha256-iMw61dXtThXvz2GnZiM4+tURMRfXhrN/ze1RTBL6zy8="; 50 + hash = "sha256-FoYRW5SaR/53yKs/T2XKVKQevA3MxMWAJFjixtwsEF4="; 50 51 }; 51 52 }; 52 53 aarch64-darwin = x86_64-darwin;