File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenvNoCC ,
4+ fetchFromGitHub ,
5+ gitUpdater ,
6+ } :
7+
8+ stdenvNoCC . mkDerivation ( finalAttrs : {
9+ pname = "rime-ice" ;
10+ version = "2025.04.06" ;
11+
12+ src = fetchFromGitHub {
13+ owner = "iDvel" ;
14+ repo = "rime-ice" ;
15+ tag = finalAttrs . version ;
16+ hash = "sha256-s3r8cdEliiPnKWs64Wgi0rC9Ngl1mkIrLnr2tIcyXWw=" ;
17+ } ;
18+
19+ installPhase = ''
20+ runHook preInstall
21+
22+ rm -rf others README.md .git*
23+
24+ mv default.yaml rime_ice_suggestion.yaml
25+
26+ mkdir -p $out/share
27+ cp -r . $out/share/rime-data
28+
29+ runHook postInstall
30+ '' ;
31+
32+ passthru . updateScript = gitUpdater { } ;
33+
34+ meta = {
35+ description = "Actively maintained simplified Chinese dictionary with full and double pinyin support" ;
36+ longDescription = ''
37+ Rime-Ice (雾凇拼音) provides a comprehensive, ready-to-use configuration.
38+ It includes full Pinyin and popular Double Pinyin layouts,
39+ a well-maintained open-source dictionary,
40+ and a wide range of extended features.
41+
42+ To enable the upstream `default.yaml`
43+ (provided as `rime_ice_suggestion.yaml`),
44+ add the following to your `default.custom.yaml`:
45+
46+ ```yaml
47+ patch:
48+ __include: rime_ice_suggestion:/
49+ ```
50+ '' ;
51+ homepage = "https://github.com/iDvel/rime-ice" ;
52+ changelog = "https://github.com/iDvel/rime-ice/blob/main/others/CHANGELOG.md" ;
53+ license = lib . licenses . gpl3Only ;
54+ maintainers = with lib . maintainers ; [
55+ xddxdd
56+ moraxyc
57+ luochen1990
58+ wrvsrx
59+ ] ;
60+ } ;
61+ } )
You can’t perform that action at this time.
0 commit comments