mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
mozcdic-ut-sudachidict: init at 0-unstable-2024-07-28
This commit is contained in:
parent
58a342c637
commit
4441c635e4
44
pkgs/by-name/mo/mozcdic-ut-sudachidict/package.nix
Normal file
44
pkgs/by-name/mo/mozcdic-ut-sudachidict/package.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenvNoCC,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "mozcdic-ut-sudachidict";
|
||||
version = "0-unstable-2024-07-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "utuhiro78";
|
||||
repo = "mozcdic-ut-sudachidict";
|
||||
rev = "a754f1fff5fded62cc066aa6be0ab0169059a144";
|
||||
hash = "sha256-WzhWNpqtiG9TtFHEOSbHG1mbb4ak0zCkO13g9ZWqyBE=";
|
||||
};
|
||||
|
||||
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 = [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user