summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/instant-messengers/discord/default.nix
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2020-04-12 11:55:36 -0400
committerBenjamin Hipple <bhipple@protonmail.com>2020-04-12 11:55:36 -0400
commit58b812f7496dffb22a690267a3c74bbe5a12589d (patch)
tree58a8d4eb4dca611027bf3b8497e6b79f9a485569 /pkgs/applications/networking/instant-messengers/discord/default.nix
parent17a1bf5dbd4439eb326fda62da8b782de2c138a5 (diff)
discord-{ptb,canary}: update to latest versions and fixup updateScript
This commit: - Moves the update script into the dir, out of the maintainers dir. This makes it more discoverable in general. It can also be invoked from anywhere to write to default.nix - Swaps it to use the standardized `passthru.updateScript`. This means that eventually bots like `nixpkgs-update` will be able to handle it. - Runs the script to upgrade to the latest versions See https://nixos.org/nixpkgs/manual/#ssec-stdenv-attributes
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/discord/default.nix')
-rw-r--r--pkgs/applications/networking/instant-messengers/discord/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix
index ab15cbb22af4..926ddeeb0483 100644
--- a/pkgs/applications/networking/instant-messengers/discord/default.nix
+++ b/pkgs/applications/networking/instant-messengers/discord/default.nix
@@ -1,5 +1,5 @@
{ branch ? "stable", pkgs }:
-# Generated by /maintainers/scripts/update-discord
+# Generated by ./update-discord.sh
let
inherit (pkgs) callPackage fetchurl;
in {
@@ -17,20 +17,20 @@ in {
pname = "discord-ptb";
binaryName = "DiscordPTB";
desktopName = "Discord PTB";
- version = "0.0.18";
+ version = "0.0.19";
src = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
- sha256 = "1v9xph7shpmabwysbc08qqlkydzgsir8rwarrjf01xmpcpyia17g";
+ sha256 = "0wixmm16qsmgbr0l9144vl5pc3s2p4jqhl7cnc6kmgy1y4ig56ib";
};
};
canary = callPackage ./base.nix rec {
pname = "discord-canary";
binaryName = "DiscordCanary";
desktopName = "Discord Canary";
- version = "0.0.102";
+ version = "0.0.103";
src = fetchurl {
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
- sha256 = "1zl53vprkwbkfn3v0lddpp1swignqjxksi4qxl5zqj7482j372a4";
+ sha256 = "1d95q75ak4z6wkxlgcmkl7yk20gl7zf568b0xslz42hwx032fn4z";
};
};
}.${branch}