discord: 0.0.67 -> 0.0.70

(cherry picked from commit 1c9844ef89)

Included `hostPlatform` in the conditional for future backports
This commit is contained in:
jfvillablanca
2024-10-06 16:38:19 +08:00
committed by Artturin
parent a3f9ad65a0
commit 97c73ae89f

View File

@@ -1,8 +1,8 @@
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }:
let
versions =
if stdenv.isLinux then {
stable = "0.0.67";
if stdenv.hostPlatform.isLinux then {
stable = "0.0.70";
ptb = "0.0.105";
canary = "0.0.492";
development = "0.0.28";
@@ -17,7 +17,7 @@ let
x86_64-linux = {
stable = fetchurl {
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
hash = "sha256-L8COdPP4SFRO+1mipjn4tjLR+xShcJbT/72yhNHdSWg=";
hash = "sha256-Ujlewrhbqal97hCG6+Iu+OqntWZJ/oY6ZHeL+HmoU38=";
};
ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";