nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, sqlite }:
2
3stdenv.mkDerivation rec{
4 name = "libchewing-${version}";
5 version = "0.4.0";
6
7 src = fetchurl {
8 url = "https://github.com/chewing/libchewing/releases/download/v${version}/libchewing-${version}.tar.bz2";
9 sha256 = "1j5g5j4w6yp73k03pmsq9n2r0p458hqriq0sd5kisj9xrssbynp5";
10 };
11
12 buildInputs = [ sqlite ];
13
14 meta = with stdenv.lib; {
15 description = "Intelligent Chinese phonetic input method";
16 homepage = http://chewing.im/;
17 license = licenses.lgpl21;
18 maintainers = [ maintainers.ericsagnes ];
19 platforms = platforms.linux;
20 };
21}