module(i18n): Config yuhao_star ime to work with rime-ice ime
This commit is contained in:
parent
20f1284263
commit
fc757e6613
8 changed files with 164 additions and 7 deletions
27
pkgs/rime-yuhaostar/default.nix
Normal file
27
pkgs/rime-yuhaostar/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
srcs,
|
||||
stdenv,
|
||||
unzip,
|
||||
}: let
|
||||
inherit (srcs.rime-yuhaostar) src version;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "rime-yuhaostar";
|
||||
version = version;
|
||||
inherit src;
|
||||
nativeBuildInputs = [unzip];
|
||||
|
||||
sourceRoot = "schema";
|
||||
|
||||
patches = [./punctuator.patch ./key_binder.patch];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/rime-data
|
||||
cp -rt $out/share/rime-data -- ./*
|
||||
rm $out/share/rime-data/default.custom.yaml
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue