From 38d83144aaf5a784a7e9ecd85c852e362e549f2a Mon Sep 17 00:00:00 2001 From: Ian-Woo Kim Date: Mon, 7 Sep 2015 05:17:41 +0000 Subject: [PATCH] libhangul, nabi: input method library and tool for korean Close #9689. @vcunat removed empty buildInputs and refactored meta. --- .../libraries/libhangul/default.nix | 18 +++++++++++++++++ pkgs/tools/inputmethods/nabi/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 3 files changed, 42 insertions(+) create mode 100644 pkgs/development/libraries/libhangul/default.nix create mode 100644 pkgs/tools/inputmethods/nabi/default.nix diff --git a/pkgs/development/libraries/libhangul/default.nix b/pkgs/development/libraries/libhangul/default.nix new file mode 100644 index 000000000000..79fc973731a6 --- /dev/null +++ b/pkgs/development/libraries/libhangul/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation { + name = "libhangul-0.1.0"; + + src = fetchurl { + url = "https://libhangul.googlecode.com/files/libhangul-0.1.0.tar.gz"; + sha256 = "0ni9b0v70wkm0116na7ghv03pgxsfpfszhgyj3hld3bxamfal1ar"; + }; + + meta = with stdenv.lib; { + description = "Core algorithm library for Korean input routines"; + homepage = https://code.google.com/p/libhangul; + license = licenses.lgpl21; + maintainers = [ maintainers.ianwookim ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/tools/inputmethods/nabi/default.nix b/pkgs/tools/inputmethods/nabi/default.nix new file mode 100644 index 000000000000..894c7b617600 --- /dev/null +++ b/pkgs/tools/inputmethods/nabi/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, gtk, libhangul }: + +stdenv.mkDerivation { + name = "nabi-1.0.0"; + + src = fetchurl { + url = "http://nabi.googlecode.com/files/nabi-1.0.0.tar.gz"; + sha256 = "0craa24pw7b70sh253arv9bg9sy4q3mhsjwfss3bnv5nf0xwnncw"; + }; + + buildInputs = [ gtk libhangul pkgconfig ]; + + meta = with stdenv.lib; { + description = "The Easy Hangul XIM"; + homepage = https://code.google.com/p/nabi; + license = licenses.gpl2; + maintainers = [ maintainers.ianwookim ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 39a40bf8fb7c..ce5b10995804 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2277,6 +2277,8 @@ let mysql2pgsql = callPackage ../tools/misc/mysql2pgsql { }; + nabi = callPackage ../tools/inputmethods/nabi { }; + namazu = callPackage ../tools/text/namazu { }; nbd = callPackage ../tools/networking/nbd { }; @@ -6940,6 +6942,8 @@ let inherit (perlPackages) libintlperl GetoptLong SysVirt; }; + libhangul = callPackage ../development/libraries/libhangul { }; + libharu = callPackage ../development/libraries/libharu { }; libHX = callPackage ../development/libraries/libHX { };