Merge pull request #91270 from ShamrockLee/chewing-editor

chewing-editor: init at 0.1.1 Add package `chewing-editor`
This commit is contained in:
Ryan Mulligan 2020-07-05 16:34:27 -07:00 committed by GitHub
commit c74e1517aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View File

@ -7190,6 +7190,12 @@
githubId = 24496705; githubId = 24496705;
name = "Scott Hamilton"; name = "Scott Hamilton";
}; };
ShamrockLee = {
name = "Shamrock Lee";
email = "44064051+ShamrockLee@users.noreply.github.com";
github = "ShamrockLee";
githubId = 44064051;
};
shanemikel = { shanemikel = {
email = "shanepearlman@pm.me"; email = "shanepearlman@pm.me";
github = "shanemikel"; github = "shanemikel";

View File

@ -0,0 +1,30 @@
{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, libchewing, qtbase
, qttools }:
mkDerivation rec {
pname = "chewing-editor";
version = "0.1.1";
src = fetchFromGitHub {
owner = "chewing";
repo = "${pname}";
rev = "${version}";
sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w";
};
doCheck = true;
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libchewing qtbase qttools ];
meta = with stdenv.lib; {
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;
maintainers = [ maintainers.ShamrockLee ];
platforms = platforms.all;
};
}

View File

@ -3432,6 +3432,8 @@ in
fcitx-configtool = callPackage ../tools/inputmethods/fcitx/fcitx-configtool.nix { }; fcitx-configtool = callPackage ../tools/inputmethods/fcitx/fcitx-configtool.nix { };
chewing-editor = libsForQt5.callPackage ../applications/misc/chewing-editor { };
fcppt = callPackage ../development/libraries/fcppt { }; fcppt = callPackage ../development/libraries/fcppt { };
fcrackzip = callPackage ../tools/security/fcrackzip { }; fcrackzip = callPackage ../tools/security/fcrackzip { };