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