Upgrade Anki to 23.12.1.

main
Joshua Potter 2024-01-31 07:30:26 -07:00
parent fef7e8294b
commit 2a7751c5d4
2 changed files with 6 additions and 13 deletions

View File

@ -5,17 +5,14 @@ let
linux = pkgs.fetchurl {
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst";
sha256 = "sha256-Kv0SH+bLnBSM/tYHe2kEJc4n7izZTBNWQs2nm/teLEU=";
sha256 = "sha256-bFtAUqSoFS8CWESiepWXywndkijATbWp6CJdqlQecuk=";
};
unpacked = pkgs.stdenv.mkDerivation {
inherit pname version;
nativeBuildInputs = [ pkgs.zstd ];
src = pkgs.fetchurl {
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst";
sha256 = "sha256-Kv0SH+bLnBSM/tYHe2kEJc4n7izZTBNWQs2nm/teLEU=";
};
src = linux;
installPhase = ''
runHook preInstall

View File

@ -60,15 +60,11 @@ let
};
in
{
# When deleting a plugin also remove the generated folder at
# `$HOME/.local/share/Anki2/addons21`.
xdg.dataFile = {
"${addons 2055492159}".source =
anki-connect;
"${addons 1374772155}".source =
"${image-occlusion-enhanced}/src/image_occlusion_enhanced";
"${addons 566351439}".source =
syntax-highlighting-ng;
"${addons 2055492159}".source = anki-connect;
"${addons 566351439}".source = syntax-highlighting-ng;
};
home.packages = [