summaryrefslogtreecommitdiffstats
path: root/pkgs/games/anki
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-01 19:20:27 +0200
committerGitHub <noreply@github.com>2024-04-01 19:20:27 +0200
commit81a8765ab583aedb7faff3d54e95a94c997e391e (patch)
treea22485c7a7507765dabdfe4a2269689955ec94f6 /pkgs/games/anki
parent8fd2fb6add0481a49cf54f5db41de3a6ea8e2359 (diff)
parentcf8ec33cde7a7b728c2ac30227cbe91d7461cef5 (diff)
Merge pull request #300726 from mahmoudk1000/master
anki-bin: 23.12.1 -> 24.04
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r--pkgs/games/anki/bin.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix
index d6789f63b82d..ee293cb7c962 100644
--- a/pkgs/games/anki/bin.nix
+++ b/pkgs/games/anki/bin.nix
@@ -3,22 +3,22 @@
let
pname = "anki-bin";
# Update hashes for both Linux and Darwin!
- version = "23.12.1";
+ version = "24.04";
sources = {
linux = fetchurl {
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst";
- sha256 = "sha256-bFtAUqSoFS8CWESiepWXywndkijATbWp6CJdqlQecuk=";
+ sha256 = "sha256-mIQ448ecBDrMo3qspXVOBJM/0LebJ9lA1JIwz70Uqhc=";
};
# For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version
darwin-x86_64 = fetchurl {
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg";
- sha256 = "sha256-z48REB14p7rb50ty9u/26wx0sY4QZb4pj6wOXsSBCdg=";
+ sha256 = "sha256-ab8cc+QMt3ZJp1NZmAwz2VNZwWQK0DBPKnz2fGmC7Fs=";
};
darwin-aarch64 = fetchurl {
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg";
- sha256 = "sha256-bdaCqSjje86wmVKIFZqzuFaEZ7SWQr7CAS/Hm1CpOMg=";
+ sha256 = "sha256-bRpPVOXpDRq+EXwW1yWiAgzkcdLhLnMrHo/t9Jgzth0=";
};
};
@@ -60,7 +60,7 @@ let
'';
# Dependencies of anki
- targetPkgs = pkgs: (with pkgs; [ xorg.libxkbfile xcb-util-cursor-HEAD krb5 ]);
+ targetPkgs = pkgs: (with pkgs; [ xorg.libxkbfile xcb-util-cursor-HEAD krb5 zstd ]);
runScript = writeShellScript "anki-wrapper.sh" ''
exec ${unpacked}/bin/anki ${ lib.strings.escapeShellArgs commandLineArgs } "$@"