2021-04-24 01:09:48 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, sqlite, cmake }:
|
2015-11-25 05:50:40 +00:00
|
|
|
|
2020-06-07 22:11:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libchewing";
|
2021-04-24 01:09:48 +01:00
|
|
|
version = "unstable-2020-06-27";
|
2015-11-25 05:50:40 +00:00
|
|
|
|
2021-04-24 01:09:48 +01: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 01:09:48 +01: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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://chewing.im/";
|
2021-04-24 01:09:48 +01:00
|
|
|
license = licenses.lgpl21Only;
|
2015-11-25 05:50:40 +00:00
|
|
|
maintainers = [ maintainers.ericsagnes ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|