Browse Source

gnu: Add librime.

* gnu/packages/ibus.scm (librime): New variable.

Signed-off-by: Ludovic Courtès <>
Meiyo Peng 3 years ago
committed by Ludovic Courtès
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 37


@ -4,6 +4,7 @@
;;; Copyright © 2016 Chris Marusich <>
;;; Copyright © 2017 Efraim Flashner <>
;;; Copyright © 2018 Tobias Geerinckx-Rice <>
;;; Copyright © 2018 Meiyo Peng <>
;;; This file is part of GNU Guix.
@ -24,21 +25,27 @@
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
#:use-module (gnu packages anthy)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages boost)
#:use-module (gnu packages databases)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages logging)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages serialization)
#:use-module (gnu packages textutils)
#:use-module (gnu packages xorg))
(define-public ibus
@ -279,3 +286,33 @@ applications allow text input via IBus, installing this package will enable
Japanese language input in most graphical applications.")
(home-page "")
(license gpl2+)))
(define-public librime
(name "librime")
(version "1.3.1")
(method url-fetch)
(uri (string-append "" name
"/archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(base32 "0qh0hy8bvj17bnzaxk0bmv4gsnbsd6jx8csr84936xmhkrysdday"))))
(build-system cmake-build-system)
`(("boost" ,boost)
("glog" ,glog)
("leveldb" ,leveldb)
("marisa" ,marisa)
("opencc" ,opencc)
("yaml-cpp" ,yaml-cpp)))
(home-page "")
(synopsis "The core library of Rime Input Method Engine")
(description "@dfn{librime} is the core library of Rime Input Method
Engine, which is a lightweight, extensible input method engine supporting
various input schemas including glyph-based input methods, romanization-based
input methods as well as those for Chinese dialects. It has the ability to
compose phrases and sentences intelligently and provide very accurate
traditional Chinese output.")
(license bsd-3)))