Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bb63d0fcb538^
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 66020b7b525e
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jul 5, 2020

  1. chewing-editor: init at 0.1.1

    chewing-editor is the user phrase editor
    for Chewing input method (a widely used bopomofo Chinese input method)
    Chewing IM memorize phrases input by the automatically
    or when the hot keys are pressed.
    With this package, users will be able to correct/add phrases in the
    database. This is one of the fundamental functionality of Chewing IM
    and it will be great to have it in NixOS.
    The corresponded Packaging Request is #89554.
    ShamrockLee authored and ryantm committed Jul 5, 2020
    Copy the full SHA
    bb63d0f View commit details
  2. Copy the full SHA
    66020b7 View commit details
Showing with 38 additions and 0 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +30 −0 pkgs/applications/misc/chewing-editor/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -7148,6 +7148,12 @@
githubId = 24496705;
name = "Scott Hamilton";
};
ShamrockLee = {
name = "Shamrock Lee";
email = "44064051+ShamrockLee@users.noreply.github.com";
github = "ShamrockLee";
githubId = 44064051;
};
shanemikel = {
email = "shanepearlman@pm.me";
github = "shanemikel";
30 changes: 30 additions & 0 deletions pkgs/applications/misc/chewing-editor/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3400,6 +3400,8 @@ in

fcitx-configtool = callPackage ../tools/inputmethods/fcitx/fcitx-configtool.nix { };

chewing-editor = libsForQt5.callPackage ../applications/misc/chewing-editor { };

fcppt = callPackage ../development/libraries/fcppt { };

fcrackzip = callPackage ../tools/security/fcrackzip { };