From 9dc5952bfa417c059a53af917719ea4a8d4bfb88 Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Thu, 25 Aug 2016 17:30:47 +0900 Subject: [PATCH] kytea: init at 0.4.7 --- pkgs/tools/text/kytea/default.nix | 28 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/text/kytea/default.nix diff --git a/pkgs/tools/text/kytea/default.nix b/pkgs/tools/text/kytea/default.nix new file mode 100644 index 000000000000..2aec0d04a619 --- /dev/null +++ b/pkgs/tools/text/kytea/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + + name = "kytea-${version}"; + version = "0.4.7"; + + src = fetchurl { + url = "http://www.phontron.com/kytea/download/kytea-0.4.6.tar.gz"; + sha256 = "0n6d88j0qda4dmy6mcj0cyin46n05m5phvjiah9i4ip54h8vs9s3"; + }; + + meta = with stdenv.lib; { + homepage = http://www.phontron.com/kytea/; + description = "General toolkit developed for analyzing text"; + + longDescription = '' + A general toolkit developed for analyzing text, with a focus on Japanese, + Chinese and other languages requiring word or morpheme segmentation. + ''; + + license = licenses.asl20; + + maintainers = [ maintainers.ericsagnes ]; + platforms = platforms.linux; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f34f4ae40cd4..bcbc4bc2a167 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2224,6 +2224,8 @@ in kst = qt5.callPackage ../tools/graphics/kst { gsl = gsl_1; }; + kytea = callPackage ../tools/text/kytea { }; + leocad = callPackage ../applications/graphics/leocad { }; less = callPackage ../tools/misc/less { };