···1+{ stdenv, fetchurl }:
2+3+stdenv.mkDerivation rec {
4+5+ name = "kytea-${version}";
6+ version = "0.4.7";
7+8+ src = fetchurl {
9+ url = "http://www.phontron.com/kytea/download/kytea-0.4.6.tar.gz";
10+ sha256 = "0n6d88j0qda4dmy6mcj0cyin46n05m5phvjiah9i4ip54h8vs9s3";
11+ };
12+13+ meta = with stdenv.lib; {
14+ homepage = http://www.phontron.com/kytea/;
15+ description = "General toolkit developed for analyzing text";
16+17+ longDescription = ''
18+ A general toolkit developed for analyzing text, with a focus on Japanese,
19+ Chinese and other languages requiring word or morpheme segmentation.
20+ '';
21+22+ license = licenses.asl20;
23+24+ maintainers = [ maintainers.ericsagnes ];
25+ platforms = platforms.linux;
26+ };
27+28+}