ankiAddons.image-occlusion-enhanced: init at version 1.4.0 (#469111)

This commit is contained in:
Sandro
2025-12-31 17:27:26 +00:00
committed by GitHub
3 changed files with 34 additions and 0 deletions
+5
View File
@@ -5968,6 +5968,11 @@
githubId = 28738918;
name = "Pratyush Das";
};
dastarruer = {
name = "dastarruer";
github = "dastarruer";
githubId = 173855353;
};
datafoo = {
github = "datafoo";
githubId = 34766150;
+2
View File
@@ -8,6 +8,8 @@
anki-quizlet-importer-extended = callPackage ./anki-quizlet-importer-extended { };
image-occlusion-enhanced = callPackage ./image-occlusion-enhanced { };
local-audio-yomichan = callPackage ./local-audio-yomichan { };
passfail2 = callPackage ./passfail2 { };
@@ -0,0 +1,27 @@
{
lib,
anki-utils,
fetchFromGitHub,
nix-update-script,
}:
anki-utils.buildAnkiAddon (finalAttrs: {
pname = "image-occlusion-enhanced";
version = "1.4.0";
src = fetchFromGitHub {
owner = "glutanimate";
repo = "image-occlusion-enhanced";
sparseCheckout = [ "src/image_occlusion_enhanced" ];
tag = "v${finalAttrs.version}";
hash = "sha256-YR1hicBDb08J+1Qc+SDiJDXLo5FzLqCQGeVe7brbPME=";
};
sourceRoot = "${finalAttrs.src.name}/src/image_occlusion_enhanced";
passthru.updateScript = nix-update-script { };
meta = {
description = ''
Adds extra features for creating image-based cloze-deletions
'';
homepage = "https://github.com/glutanimate/image-occlusion-enhanced";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ dastarruer ];
};
})