Add toki pona ibus
This commit is contained in:
parent
2502360bb2
commit
ce67ad865e
2 changed files with 19 additions and 0 deletions
|
@ -60,6 +60,7 @@ in
|
|||
table
|
||||
table-others
|
||||
uniemoji
|
||||
(pkgs.callPackage ../packages/ibus-tp.nix { })
|
||||
];
|
||||
};
|
||||
# For syncthing
|
||||
|
|
18
packages/ibus-tp.nix
Normal file
18
packages/ibus-tp.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenvNoCC, fetchFromGitHub, ibus, ibus-table }: stdenvNoCC.mkDerivation rec {
|
||||
pname = "ibus-toki-pona";
|
||||
version = "20220215";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Id405";
|
||||
repo = "sitelen-pona-ucsur-guide";
|
||||
rev = "43da00449a99c0b8aaa6f5099d0dc1f795c7c39f";
|
||||
sha256 = "sha256-CIa0wJnv1G0jpS8l2cjEFey1pdQuJPftiwZ5MZyriJ8=";
|
||||
};
|
||||
buildInputs = [ ibus ibus-table ];
|
||||
|
||||
buildPhase = ''
|
||||
ibus-table-createdb -n tokipona.db tokipona.txt
|
||||
'';
|
||||
installPhase = ''
|
||||
install -m444 -Dt $out/share/ibus-table/tables tokipona.db
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue