wpsoffice{-cn}: 11.1.0.11720 -> 11.1.0.11723

This commit is contained in:
rewine 2024-07-30 20:31:46 +08:00
parent c4913a0ed9
commit bda99fed15

View File

@ -23,7 +23,7 @@
, useChineseVersion ? false , useChineseVersion ? false
}: }:
let let
pkgVersion = "11.1.0.11720"; pkgVersion = "11.1.0.11723";
url = url =
if useChineseVersion then if useChineseVersion then
"https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${lib.last (lib.splitVersion pkgVersion)}/wps-office_${pkgVersion}_amd64.deb" "https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2019/${lib.last (lib.splitVersion pkgVersion)}/wps-office_${pkgVersion}_amd64.deb"
@ -31,9 +31,9 @@ let
"https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${lib.last (lib.splitVersion pkgVersion)}/wps-office_${pkgVersion}.XA_amd64.deb"; "https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${lib.last (lib.splitVersion pkgVersion)}/wps-office_${pkgVersion}.XA_amd64.deb";
hash = hash =
if useChineseVersion then if useChineseVersion then
"sha256-wf0zgFrhqHXV68Qsa20X8FbMA83XeYr/dSCBg1IjVlg=" "sha256-vpXK8YyjqhFdmtajO6ZotYACpe5thMct9hwUT3advUM="
else else
"sha256-MvJ5XQx9fmNIFKvzSEbu1BAdxiASJ6HR+qsDFLm53dU="; "sha256-o8njvwE/UsQpPuLyChxGAZ4euvwfuaHxs5pfUvcM7kI=";
uri = builtins.replaceStrings [ "https://wps-linux-personal.wpscdn.cn" ] [ "" ] url; uri = builtins.replaceStrings [ "https://wps-linux-personal.wpscdn.cn" ] [ "" ] url;
securityKey = "7f8faaaa468174dc1c9cd62e5f218a5b"; securityKey = "7f8faaaa468174dc1c9cd62e5f218a5b";
in in