{ lib, fetchFromGitHub, stdenvNoCC, nix-update-script, }: stdenvNoCC.mkDerivation { pname = "mozcdic-ut-jawiki"; version = "0-unstable-2024-09-21"; src = fetchFromGitHub { owner = "utuhiro78"; repo = "mozcdic-ut-jawiki"; rev = "c7bec6a8df7a3f893646bb8c017033499a8350be"; hash = "sha256-fjIOGT3SYKLtL31QfZVNT4vKMNuHy1YAKFVjf82BWMQ="; }; 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 = [ ]; }; }