{ lib, fetchFromGitHub, stdenvNoCC, nix-update-script, }: stdenvNoCC.mkDerivation { pname = "mozcdic-ut-sudachidict"; version = "0-unstable-2024-10-12"; src = fetchFromGitHub { owner = "utuhiro78"; repo = "mozcdic-ut-sudachidict"; rev = "a807010ef3fdc9573a83f41594e9d79b969c3f80"; hash = "sha256-AGs/MleR/UMtVUDfxpE9clyD1uaI3SvTGFZInOo8ms0="; }; installPhase = '' runHook preInstall install -Dt $out mozcdic-ut-sudachidict.txt.tar.bz2 runHook postInstall ''; passthru.updateScript = nix-update-script { extraArgs = [ "--version" "branch" ]; }; meta = { description = "Mozc UT SudachiDict Dictionary is a dictionary converted from SudachiDict for Mozc."; homepage = "https://github.com/utuhiro78/mozcdic-ut-sudachidict"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ pineapplehunter ]; platforms = lib.platforms.all; # this does not need to be separately built # it only provides some zip files hydraPlatforms = [ ]; }; }