Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 21 lines 589 B view raw
1{ stdenv, fetchurl, sqlite }: 2 3stdenv.mkDerivation rec{ 4 name = "libchewing-${version}"; 5 version = "0.5.1"; 6 7 src = fetchurl { 8 url = "https://github.com/chewing/libchewing/releases/download/v${version}/libchewing-${version}.tar.bz2"; 9 sha256 = "0aqp2vqgxczydpn7pxi7r6xf3l1hgl710f0gbi1k8q7s2lscc24p"; 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}