rime-moegirl: init at 20250609
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
fetchurl,
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "rime-moegirl";
|
||||
version = "20250609";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/outloudvi/mw2fcitx/releases/download/${finalAttrs.version}/moegirl.dict.yaml";
|
||||
hash = "sha256-Zry74q94cupBxHExTvUSS/sF6Vp8LbALhaEhiHEQ7UY=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/rime-data
|
||||
cp $src $out/share/rime-data/moegirl.dict.yaml
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/outloudvi/mw2fcitx/releases/tag/${finalAttrs.version}";
|
||||
maintainers = with lib.maintainers; [ xddxdd ];
|
||||
description = "RIME dictionary file for entries from zh.moegirl.org.cn";
|
||||
homepage = "https://github.com/outloudvi/mw2fcitx/releases";
|
||||
license = with lib.licenses; [
|
||||
unlicense # the tool packaging dictionary
|
||||
cc-by-nc-sa-30 # moegirl wiki itself
|
||||
];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user