Files
nixpkgs/pkgs/by-name/ri/rime-ice/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.4 KiB
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
gitUpdater,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "rime-ice";
version = "2025.04.06";
src = fetchFromGitHub {
owner = "iDvel";
repo = "rime-ice";
tag = finalAttrs.version;
hash = "sha256-s3r8cdEliiPnKWs64Wgi0rC9Ngl1mkIrLnr2tIcyXWw=";
};
installPhase = ''
runHook preInstall
rm -rf others README.md .git*
mv default.yaml rime_ice_suggestion.yaml
mkdir -p $out/share
cp -r . $out/share/rime-data
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = {
description = "Actively maintained simplified Chinese dictionary with full and double pinyin support";
longDescription = ''
Rime-Ice () provides a comprehensive, ready-to-use configuration.
It includes full Pinyin and popular Double Pinyin layouts,
a well-maintained open-source dictionary,
and a wide range of extended features.
To enable the upstream `default.yaml`
(provided as `rime_ice_suggestion.yaml`),
add the following to your `default.custom.yaml`:
```yaml
patch:
__include: rime_ice_suggestion:/
```
'';
homepage = "https://github.com/iDvel/rime-ice";
changelog = "https://github.com/iDvel/rime-ice/blob/main/others/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
xddxdd
moraxyc
luochen1990
wrvsrx
];
};
})