discord-ptb: 0.0.58 -> 0.0.59

This commit is contained in:
Devin Singh 2022-01-20 00:46:06 -06:00
parent 39900ee62d
commit adebfd54d4
No known key found for this signature in database
GPG Key ID: 4F6C4997D9719DBF

View File

@ -7,11 +7,16 @@ let
canary = "0.0.132";
} else {
stable = "0.0.264";
ptb = "0.0.58";
ptb = "0.0.59";
canary = "0.0.280";
};
version = versions.${branch};
srcs = {
srcs = let
darwin-ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
sha256 = "sha256-LS7KExVXkOv8O/GrisPMbBxg/pwoDXIOo1dK9wk1yB8=";
};
in {
x86_64-linux = {
stable = fetchurl {
url =
@ -34,11 +39,7 @@ let
url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg";
sha256 = "1jvlxmbfqhslsr16prsgbki77kq7i3ipbkbn67pnwlnis40y9s7p";
};
ptb = fetchurl {
url =
"https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
sha256 = "sha256-GwYUoPBbx9lSaRP1JwzI0UE9gEU+rV4a9BNPVSxHki0=";
};
ptb = darwin-ptb;
canary = fetchurl {
url =
"https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg";
@ -46,13 +47,7 @@ let
};
};
# Only PTB bundles a MachO Universal binary with ARM support.
aarch64-darwin = {
ptb = fetchurl {
url =
"https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
sha256 = "sha256-GwYUoPBbx9lSaRP1JwzI0UE9gEU+rV4a9BNPVSxHki0=";
};
};
aarch64-darwin = { ptb = darwin-ptb; };
};
src = srcs.${stdenv.hostPlatform.system}.${branch};