Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: wechat 4.1.1.4 -> 14 https://repology.org/project/wechat/versions attrpath: wechat Checking auto update branch... No auto update branch exists Old version 4.1.1.4" not present in master derivation file with contents: { callPackage, fetchurl, lib, stdenvNoCC, }: let inherit (stdenvNoCC.hostPlatform) system; pname = "wechat"; meta = { description = "Messaging and calling app"; homepage = "https://www.wechat.com/en/"; downloadPage = "https://linux.weixin.qq.com/en"; license = lib.licenses.unfree; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; maintainers = with lib.maintainers; [ larry0x prince213 ]; mainProgram = "wechat"; platforms = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" ]; }; sources = { # https://dldir1.qq.com/weixin/mac/mac-release.xml aarch64-darwin = let version = "4.1.13.59-269627"; version' = lib.replaceString "-" "_" version; in { inherit version; src = fetchurl { url = "https://dldir1v6.qq.com/weixin/Universal/Mac/xWeChatMac_universal_${version'}.dmg"; hash = "sha256-45zrtADGKikIfN+BQRMR74Pnmr4VHfXShamWEnOTdOk="; }; }; # use https://web.archive.org/save to archive the Linux versions # add `if_` at the end of timestamps to avoid toolbar insertion # for a more complicated guide, see https://en.wikipedia.org/wiki/Help:Using_the_Wayback_Machine aarch64-linux = { version = "4.1.1.8"; src = fetchurl { url = "https://web.archive.org/web/20260818044444if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.AppImage"; hash = "sha256-RLHhac3wSS1C9rx3GsA07Tp1EzxSf2LLBMyPtrECnUY="; }; }; x86_64-linux = { version = "4.1.1.8"; src = fetchurl { url = "https://web.archive.org/web/20260818044436if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.AppImage"; hash = "sha256-RX26ArkbAxzdRBLu4HT7v/udnQax5Q/Bgi00hw4RSZA="; }; }; }; in callPackage (if stdenvNoCC.hostPlatform.isDarwin then ./darwin.nix else ./linux.nix) { inherit pname meta; inherit (sources.${system} or (throw "Unsupported system: ${system}")) version src; }