From 6874221403ec495982cad777c25eef59991c888e Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Wed, 25 Nov 2015 14:50:40 +0900 Subject: [PATCH] libchewing: init at 0.4.0 --- lib/maintainers.nix | 1 + .../libraries/libchewing/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/libchewing/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index e76de34ba60e..b01550587415 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -96,6 +96,7 @@ enolan = "Echo Nolan "; epitrochoid = "Mabry Cervin "; ericbmerritt = "Eric Merritt "; + ericsagnes = "Eric Sagnes "; erikryb = "Erik Rybakken "; ertes = "Ertugrul Söylemez "; exlevan = "Alexey Levan "; diff --git a/pkgs/development/libraries/libchewing/default.nix b/pkgs/development/libraries/libchewing/default.nix new file mode 100644 index 000000000000..0521ae8a0400 --- /dev/null +++ b/pkgs/development/libraries/libchewing/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, sqlite }: + +stdenv.mkDerivation rec{ + name = "libchewing-${version}"; + version = "0.4.0"; + + src = fetchurl { + url = "https://github.com/chewing/libchewing/releases/download/v${version}/libchewing-${version}.tar.bz2"; + sha256 = "1j5g5j4w6yp73k03pmsq9n2r0p458hqriq0sd5kisj9xrssbynp5"; + }; + + buildInputs = [ sqlite ]; + + meta = with stdenv.lib; { + description = "Intelligent Chinese phonetic input method"; + homepage = http://chewing.im/; + license = licenses.lgpl21; + maintainers = [ maintainers.ericsagnes ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 352f5e1fe141..01a2f4898bb8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6944,6 +6944,8 @@ let libchardet = callPackage ../development/libraries/libchardet { }; + libchewing = callPackage ../development/libraries/libchewing { }; + libcrafter = callPackage ../development/libraries/libcrafter { }; libuchardet = callPackage ../development/libraries/libuchardet { };