rime-moegirl: init at 20250609 (#354930)

authored by Aleksana and committed by GitHub 840a2158 3e851e27

+34
+34
pkgs/by-name/ri/rime-moegirl/package.nix
··· 1 + { 2 + fetchurl, 3 + stdenvNoCC, 4 + lib, 5 + }: 6 + stdenvNoCC.mkDerivation (finalAttrs: { 7 + pname = "rime-moegirl"; 8 + version = "20250609"; 9 + src = fetchurl { 10 + url = "https://github.com/outloudvi/mw2fcitx/releases/download/${finalAttrs.version}/moegirl.dict.yaml"; 11 + hash = "sha256-Zry74q94cupBxHExTvUSS/sF6Vp8LbALhaEhiHEQ7UY="; 12 + }; 13 + 14 + dontUnpack = true; 15 + installPhase = '' 16 + runHook preInstall 17 + 18 + mkdir -p $out/share/rime-data 19 + cp $src $out/share/rime-data/moegirl.dict.yaml 20 + 21 + runHook postInstall 22 + ''; 23 + 24 + meta = { 25 + changelog = "https://github.com/outloudvi/mw2fcitx/releases/tag/${finalAttrs.version}"; 26 + maintainers = with lib.maintainers; [ xddxdd ]; 27 + description = "RIME dictionary file for entries from zh.moegirl.org.cn"; 28 + homepage = "https://github.com/outloudvi/mw2fcitx/releases"; 29 + license = with lib.licenses; [ 30 + unlicense # the tool packaging dictionary 31 + cc-by-nc-sa-30 # moegirl wiki itself 32 + ]; 33 + }; 34 + })