Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcitx-engines.rime: init at 0.3.2 #29460

Merged
merged 6 commits into from Oct 3, 2017
Merged

fcitx-engines.rime: init at 0.3.2 #29460

merged 6 commits into from Oct 3, 2017

Conversation

sifmelcara
Copy link
Member

@sifmelcara sifmelcara commented Sep 16, 2017

Motivation for this change

Add fcitx support for Rime input method and Rime's dependencies.

About the brise package: This package provides data for many variants of Chinese input methods. Since it will try to download data from GitHub (if data do not already exists), we need to fetch those dialect's data manually.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

libyamlcpp, gmock }:

stdenv.mkDerivation rec {
name = "librime";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version needs to be part of name.

name = "librime";
version = "1.2.9";

src = fetchurl {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use fetchFromGitHub here:

{
  src = fetchFromGitHub {
    owner = "rime";
    repo = "librime";
    rev = "rime-${version}";
    sha256 = "...";
  };
}

@sifmelcara sifmelcara force-pushed the add/rime branch 3 times, most recently from ef091c6 to 9e74ee1 Compare September 18, 2017 05:54
@sifmelcara
Copy link
Member Author

Thanks for the review!
Please tell me if there is any other improvement I can do. (travis still have not start the build&test after 3 days..)

@sifmelcara sifmelcara force-pushed the add/rime branch 2 times, most recently from 99d0dd2 to 6d9b6e9 Compare October 3, 2017 09:33
@sifmelcara
Copy link
Member Author

Hello, what's the status?
I just rebased the branch against master again, and it still works fine.

# may be released under different licenses
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.mingchuan ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you wait, you should probably update this to match your new username (and same in the other files and lib/maintainers.nix). :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, sifmelcara is my GitHub handle, and mingchuan is the name I used in git commit messages.
However, I can change my name in lib/maintainers.nix so that people can easily ping me on GitHub.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, my bad. Yeah at the top of lib/maintainers.nix it says github handle is preferred, thanks. ✨

@orivej orivej force-pushed the add/rime branch 3 times, most recently from 88b4956 to c3417c7 Compare October 3, 2017 14:21
@orivej
Copy link
Contributor

orivej commented Oct 3, 2017

I've simplified build expressions and enabled parallel building. Thank you for your contribution!

@orivej orivej merged commit b465d9c into NixOS:master Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants