{ lib, fetchFromGitHub, stdenvNoCC, nix-update-script, }: stdenvNoCC.mkDerivation { pname = "mozcdic-ut-jawiki"; version = "0-unstable-2024-09-27"; src = fetchFromGitHub { owner = "utuhiro78"; repo = "mozcdic-ut-jawiki"; rev = "773cc08e71c4daa3c06fc577853f715a2bb4d9aa"; hash = "sha256-TDZvB8/ZrUtkAbCr3vMfyFfhQ4v5SYWEqPNjuGB1Ve4="; }; installPhase = '' runHook preInstall install -Dt $out mozcdic-ut-jawiki.txt.tar.bz2 runHook postInstall ''; passthru.updateScript = nix-update-script { extraArgs = [ "--version" "branch" ]; }; meta = { description = "Mozc UT Jawiki Dictionary is a dictionary generated from the Japanese Wikipedia for Mozc."; homepage = "https://github.com/utuhiro78/mozcdic-ut-jawiki"; license = with lib.licenses; [ asl20 cc-by-sa-40 ]; maintainers = with lib.maintainers; [ pineapplehunter ]; platforms = lib.platforms.all; # this does not need to be separately built # it only provides some zip files hydraPlatforms = [ ]; }; }