qq: 3.1.1-11223 -> 3.1.2-12912

This commit is contained in:
SamLukeYes 2023-05-17 19:50:18 +08:00
parent 963006aab3
commit f742075d67

View File

@ -22,15 +22,16 @@
}:
let
version = "3.1.1-11223";
version = "3.1.2-12912";
_hash = "80d33f88";
srcs = {
x86_64-linux = fetchurl {
url = "https://dldir1.qq.com/qqfile/qq/QQNT/2355235c/linuxqq_${version}_amd64.deb";
sha256 = "sha256-TBgQ7zV+juB3KSgIIXuvxnYmvnnM/1/wU0EkiopIqvY=";
url = "https://dldir1.qq.com/qqfile/qq/QQNT/${_hash}/linuxqq_${version}_amd64.deb";
hash = "sha256-F+zIHqYWKiCHYNJZ5hRw0rzltizjuqhVxbpzQGagoZ0=";
};
aarch64-linux = fetchurl {
url = "https://dldir1.qq.com/qqfile/qq/QQNT/2355235c/linuxqq_${version}_arm64.deb";
sha256 = "sha256-1ba/IA/+X/s7jUtIhh3OsBHU7MPggGrASsBPx8euBBs=";
url = "https://dldir1.qq.com/qqfile/qq/QQNT/${_hash}/linuxqq_${version}_arm64.deb";
hash = "sha256-5n4T0mlfEh9/84wUYiH437R95Qz6/SKDq/AK6baiW24=";
};
};
src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
@ -39,8 +40,6 @@ stdenv.mkDerivation {
pname = "qq";
inherit version src;
unpackCmd = "dpkg-deb -x $curSrc source";
nativeBuildInputs = [
autoPatchelfHook
wrapGAppsHook