about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libchewing/default.nix
blob: 09d5d40f8779cdc3922b89e7f45cd2b9797da0e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
  };
}