2021-04-26 19:14:03 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, sqlite, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libchewing";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "unstable-2020-06-27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-26 19:14:03 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chewing";
|
|
|
|
repo = "libchewing";
|
|
|
|
rev = "452f6221fbad90c0706a3963b17e226216e40dd7";
|
|
|
|
sha256 = "sha256-w3/K2O/CU+XVzqzVCYJyq1vLgToN6iIUhJ9J7ia4p9E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
|
2021-04-26 19:14:03 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Intelligent Chinese phonetic input method";
|
|
|
|
homepage = "http://chewing.im/";
|
2021-04-26 19:14:03 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.ericsagnes ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|