depot/third_party/nixpkgs/pkgs/by-name/mo/mozcdic-ut-skk-jisyo/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

47 lines
1.1 KiB
Nix

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