;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages namazu) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public kakasi (package (name "kakasi") (version "2.3.6") (source (origin (method url-fetch) (uri (string-append "http://kakasi.namazu.org/stable/" name "-" version ".tar.gz")) (sha256 (base32 "14qqjr24p5s4dashr3ikp5gx8g789b8q4bc22ksh7h0ravypchh0")))) (build-system gnu-build-system) (arguments `(;; kakasi-4 /bin/echo fails to get substituted, we need to replace ;; /bin/echo with (which echo) in tests/kakasi-{1,4,5,6,7} #:tests? #f)) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake))) (synopsis "Kanji Kana Simple Inverter") (description "KAKASI is the language processing filter to convert Kanji characters to Hiragana, Katakana or Romaji and may be helpful to read Japanese documents.") (license license:gpl2+) (home-page "http://kakasi.namazu.org")))