1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
9 url = "http://www.phontron.com/kytea/download/${pname}-${version}.tar.gz";
10 sha256 = "0ilzzwn5vpvm65bnbyb9f5rxyxy3jmbafw9w0lgl5iad1ka36jjk";
13 patches = [ ./gcc-O3.patch ];
15 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
18 homepage = "http://www.phontron.com/kytea/";
19 description = "General toolkit developed for analyzing text";
22 A general toolkit developed for analyzing text, with a focus on Japanese,
23 Chinese and other languages requiring word or morpheme segmentation.
26 license = licenses.asl20;
28 maintainers = with maintainers; [ ericsagnes ];
29 platforms = platforms.unix;