rime-japanese: init at 0-unstable-2023-08-02

Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com>

pluie.me 40a4559a a46ce186

verified
+35
+35
pkgs/by-name/ri/rime-japanese/package.nix
···
··· 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchFromGitHub, 5 + }: 6 + stdenvNoCC.mkDerivation { 7 + pname = "rime-japanese"; 8 + version = "0-unstable-2023-08-02"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "gkovacs"; 12 + repo = "rime-japanese"; 13 + rev = "4c1e65135459175136f380e90ba52acb40fdfb2d"; 14 + hash = "sha256-/mIIyCu8V95ArKo/vIS3qAiD8InUmk8fAF/wejxRxGw="; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D japanese.*.yaml -t $out/share/rime-data/ 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = { 26 + description = "Layout for typing in Japanese with RIME"; 27 + homepage = "https://github.com/gkovacs/rime-japanese"; 28 + 29 + # Awaiting upstream response (gkovacs/rime-japanese#6) 30 + # Packages are assumed unfree unless explicitly indicated otherwise 31 + license = lib.licenses.unfree; 32 + maintainers = with lib.maintainers; [ pluiedev ]; 33 + platforms = lib.platforms.all; 34 + }; 35 + }