2021-04-24 00:09:48 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, sqlite, cmake }:
|
2015-11-25 05:50:40 +00:00
|
|
|
|
2020-06-07 21:11:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libchewing";
|
2021-04-24 00:09:48 +00:00
|
|
|
version = "unstable-2020-06-27";
|
2015-11-25 05:50:40 +00:00
|
|
|
|
2021-04-24 00:09:48 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chewing";
|
|
|
|
repo = "libchewing";
|
|
|
|
rev = "452f6221fbad90c0706a3963b17e226216e40dd7";
|
|
|
|
sha256 = "sha256-w3/K2O/CU+XVzqzVCYJyq1vLgToN6iIUhJ9J7ia4p9E=";
|
2015-11-25 05:50:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
|
2021-04-24 00:09:48 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-11-25 05:50:40 +00:00
|
|
|
description = "Intelligent Chinese phonetic input method";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://chewing.im/";
|
2021-04-24 00:09:48 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2015-11-25 05:50:40 +00:00
|
|
|
maintainers = [ maintainers.ericsagnes ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|