2021-01-25 09:26:54 +01:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, libchewing, qtbase
|
2020-07-05 19:37:57 +02:00
|
|
|
, qttools }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "chewing-editor";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chewing";
|
2020-11-01 23:39:49 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-07-05 19:37:57 +02:00
|
|
|
sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-07-05 19:37:57 +02:00
|
|
|
buildInputs = [ libchewing qtbase qttools ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-07-05 19:37:57 +02:00
|
|
|
description = "Cross platform chewing user phrase editor";
|
|
|
|
longDescription = ''
|
|
|
|
chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/chewing/chewing-editor";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-07-05 19:35:05 +02:00
|
|
|
maintainers = [ maintainers.ShamrockLee ];
|
2020-07-05 19:37:57 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|