discord: 0.0.13 -> 0.0.1
Despite the version number confusion, this is a new version of discord-canary, but since the build is now public/official, the version number has been reset and the canary suffix has been dropped. Note that this means that the executable has been renamed from DiscordCanary to Discord
This commit is contained in:
parent
88606fff57
commit
2f367e0af7
@ -7,12 +7,12 @@
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "discord";
|
||||
version = "0.0.13";
|
||||
version = "0.0.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn-canary.discordapp.com/apps/linux/${version}/${pname}-canary-${version}.tar.gz";
|
||||
sha256 = "1pwb8y80z1bmfln5wd1vrhras0xygd1j15sib0g9vaig4mc55cs6";
|
||||
url = "https://cdn.discordapp.com/apps/linux/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "10m3ixvhmxdw55awd84gx13m222qjykj7gcigbjabcvsgp2z63xs";
|
||||
};
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath [
|
||||
@ -30,11 +30,11 @@ stdenv.mkDerivation rec {
|
||||
# see pkgs/applications/misc/adobe-reader/builder.sh
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "$out:$libPath" \
|
||||
$out/DiscordCanary
|
||||
$out/Discord
|
||||
|
||||
paxmark m $out/DiscordCanary
|
||||
paxmark m $out/Discord
|
||||
|
||||
ln -s $out/DiscordCanary $out/bin/
|
||||
ln -s $out/Discord $out/bin/
|
||||
ln -s $out/discord.png $out/share/pixmaps
|
||||
|
||||
# Putting udev in the path won't work :(
|
||||
@ -44,9 +44,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = pname;
|
||||
exec = "DiscordCanary";
|
||||
exec = "Discord";
|
||||
icon = pname;
|
||||
desktopName = "Discord Canary";
|
||||
desktopName = "Discord";
|
||||
genericName = meta.description;
|
||||
categories = "Network;InstantMessaging;";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user