diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libchewing')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libchewing/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libchewing/default.nix b/nixpkgs/pkgs/development/libraries/libchewing/default.nix new file mode 100644 index 000000000000..09d5d40f8779 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libchewing/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, sqlite }: + +stdenv.mkDerivation rec{ + pname = "libchewing"; + version = "0.5.1"; + + src = fetchurl { + url = "https://github.com/chewing/libchewing/releases/download/v${version}/libchewing-${version}.tar.bz2"; + sha256 = "0aqp2vqgxczydpn7pxi7r6xf3l1hgl710f0gbi1k8q7s2lscc24p"; + }; + + 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; + }; +} |