2024-09-26 11:04:55 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
stdenvNoCC,
|
|
|
|
nix-update-script,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "mozcdic-ut-neologd";
|
2024-10-23 06:41:50 +00:00
|
|
|
version = "0-unstable-2024-10-12";
|
2024-09-26 11:04:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "utuhiro78";
|
|
|
|
repo = "mozcdic-ut-neologd";
|
2024-10-23 06:41:50 +00:00
|
|
|
rev = "d37f0514dd8c4057f2f94a92617ac7994ece3519";
|
|
|
|
hash = "sha256-Vj/5SNe5kC07qQRAOuqRZScoOpUXjLdX0JsakNm9tfk=";
|
2024-09-26 11:04:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -Dt $out mozcdic-ut-neologd.txt.tar.bz2
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
extraArgs = [
|
|
|
|
"--version"
|
|
|
|
"branch"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozc UT NEologd Dictionary is a dictionary converted from mecab-ipadic-NEologd for Mozc.";
|
|
|
|
homepage = "https://github.com/utuhiro78/mozcdic-ut-neologd";
|
|
|
|
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 = [ ];
|
|
|
|
};
|
|
|
|
}
|