| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 |
|
| 20 | (define-module (gnu packages anthy)
|
| 21 | #:use-module (guix licenses)
|
| 22 | #:use-module (guix packages)
|
| 23 | #:use-module (guix download)
|
| 24 | #:use-module (guix build-system gnu))
|
| 25 |
|
| 26 | (define-public anthy
|
| 27 | (package
|
| 28 | (name "anthy")
|
| 29 | (version "9100h")
|
| 30 | (source
|
| 31 | (origin
|
| 32 | (method url-fetch)
|
| 33 | |
| 34 | |
| 35 | |
| 36 | (uri (string-append "https://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
|
| 37 | "distfiles/31/anthy-9100h.tar.gz"))
|
| 38 | (sha256
|
| 39 | (base32 "0ism4zibcsa5nl77wwi12vdsfjys3waxcphn1p5s7d0qy1sz0mnj"))))
|
| 40 | (build-system gnu-build-system)
|
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | (arguments
|
| 47 | `(#:phases
|
| 48 | (modify-phases %standard-phases
|
| 49 | (replace 'check
|
| 50 | (lambda _
|
| 51 | (with-directory-excursion "test"
|
| 52 | (invoke "./anthy" "--all")))))))
|
| 53 | (home-page "https://anthy.osdn.jp/")
|
| 54 | (synopsis "Japanese input method")
|
| 55 | (description "Anthy is a Japanese input method for converting
|
| 56 | hiragana text to mixed kana and kanji. It is written in the C
|
| 57 | programming language. Anthy stores personal customizations (words it
|
| 58 | has learned from the user's input, words the user has explicitly
|
| 59 | added, etc.) in the @file{~/.anthy/} directory. This package contains the
|
| 60 | anthy C libraries, the cannadic and alt-cannadic kana dictionaries, as
|
| 61 | well as command-line tools for using anthy and managing
|
| 62 | dictionaries.")
|
| 63 | |
| 64 | |
| 65 | |
| 66 | (license (list lgpl2.1+ gpl2))))
|