mozcdic-ut-edict2: init at 0-unstable-2024-07-28

This commit is contained in:
Shogo Takata 2024-05-24 19:06:57 +09:00
parent 78b3a6b434
commit d148df37bb
No known key found for this signature in database
GPG Key ID: 4BB7EF28F88F6E7A

View File

@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
stdenvNoCC,
nix-update-script,
}:
stdenvNoCC.mkDerivation {
pname = "mozcdic-ut-edict2";
version = "0-unstable-2024-07-28";
src = fetchFromGitHub {
owner = "utuhiro78";
repo = "mozcdic-ut-edict2";
rev = "b2112277d0d479b9218f42772356da3601b3e8cf";
hash = "sha256-DIIp8FooWxyHMrQmq+2KUGEmYHKy+H6NtHrvRldxXqc=";
};
installPhase = ''
runHook preInstall
install -Dt $out mozcdic-ut-edict2.txt.tar.bz2
runHook postInstall
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version"
"branch"
];
};
meta = {
description = "Mozc UT EDICT2 Dictionary is a dictionary converted from EDICT2 for Mozc.";
homepage = "https://github.com/utuhiro78/mozcdic-ut-sudachidict";
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 = [ ];
};
}