depot/pkgs/by-name/mo/mozcdic-ut-neologd/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

44 lines
1 KiB
Nix

{
lib,
fetchFromGitHub,
stdenvNoCC,
nix-update-script,
}:
stdenvNoCC.mkDerivation {
pname = "mozcdic-ut-neologd";
version = "0-unstable-2024-10-12";
src = fetchFromGitHub {
owner = "utuhiro78";
repo = "mozcdic-ut-neologd";
rev = "d37f0514dd8c4057f2f94a92617ac7994ece3519";
hash = "sha256-Vj/5SNe5kC07qQRAOuqRZScoOpUXjLdX0JsakNm9tfk=";
};
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 = [ ];
};
}