Unverified Commit 6eebb203 authored by June Stepp's avatar June Stepp
Browse files

ankiAddons.yomichan-forvo-server: init at 0-unstable-2024-10-21

parent 133b3319
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9,4 +9,6 @@
  passfail2 = callPackage ./passfail2 { };

  reviewer-refocus-card = callPackage ./reviewer-refocus-card { };

  yomichan-forvo-server = callPackage ./yomichan-forvo-server { };
}
+25 −0
Original line number Diff line number Diff line
{
  lib,
  anki-utils,
  fetchFromGitHub,
  nix-update-script,
}:
anki-utils.buildAnkiAddon {
  pname = "yomichan-forvo-server";
  version = "0-unstable-2024-10-21";
  src = fetchFromGitHub {
    owner = "jamesnicolas";
    repo = "yomichan-forvo-server";
    rev = "364fc6d5d10969f516e0fa283460dfaf08c98e15";
    hash = "sha256-Jpee9hkXCiBmSW7hzJ1rAg45XVIiLC8WENc09+ySFVI=";
  };
  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version=branch" ];
  };
  meta = {
    description = "Audio server for yomichan that scrapes forvo for audio files";
    homepage = "https://github.com/jamesnicolas/yomichan-forvo-server";
    license = lib.licenses.unlicense;
    maintainers = with lib.maintainers; [ junestepp ];
  };
}