1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

add kakasi, a Kanji to Hiragana, Katakana or Romaji converter

This commit is contained in:
宋文武 2014-04-18 22:07:17 +08:00
parent a2a398fbda
commit c796adfd65
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "kakasi-2.3.6";
meta = with stdenv.lib; {
description = "Kanji Kana Simple Inverter";
longDescription = ''
KAKASI is the language processing filter to convert Kanji
characters to Hiragana, Katakana or Romaji and may be
helpful to read Japanese documents.
'';
homepage = "http://kakasi.namazu.org/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ iyzsong ];
};
src = fetchurl {
url = "http://kakasi.namazu.org/stable/${name}.tar.xz";
sha256 = "1qry3xqb83pjgxp3my8b1sy77z4f0893h73ldrvdaky70cdppr9f";
};
}

View file

@ -9936,6 +9936,8 @@ let
hsetroot = callPackage ../tools/X11/hsetroot { };
kakasi = callPackage ../tools/text/kakasi { };
kde4 = recurseIntoAttrs pkgs.kde411;
kde4_next = recurseIntoAttrs( lib.lowPrioSet pkgs.kde412 );