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

deepin-terminal: Init at 2.3.3 #24768

Merged
merged 1 commit into from May 1, 2017
Merged

deepin-terminal: Init at 2.3.3 #24768

merged 1 commit into from May 1, 2017

Conversation

snyh
Copy link
Member

@snyh snyh commented Apr 9, 2017

Motivation for this change

Add the deepin-terminal which is a friendly terminal emulator .

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 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.

@snyh snyh force-pushed the deepin-terminal branch 2 times, most recently from 1dfc86b to 5358cd1 Compare April 9, 2017 10:36
patchPhase = ''
substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\"
'';
buildInputs = [ unzip gtk3 pkgconfig bash vala cmake vte gee wnck gettext libsecret json_glib ];
Copy link
Contributor

Choose a reason for hiding this comment

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

bash should be redundant; it's already in the standard environment.

meta = {
description = "The default terminal emulation for Deepin";
longDescription = ''
Deepin terminal, it sharpens your focus in the world of command line!
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind indenting this as in

longDescription = ''
   lorem ipsum
   foo bar
'';

for the sake of consistency.

longDescription = ''
Deepin terminal, it sharpens your focus in the world of command line!
Deepin Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features.
It sharpens your focus in the world of command line!
Copy link
Contributor

@joachifm joachifm Apr 9, 2017

Choose a reason for hiding this comment

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

This phrase is repeated.

@joachifm
Copy link
Contributor

joachifm commented Apr 9, 2017

Looks pretty good to me, added a few minor points for you to consider.

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-terminal";
rev = "${version}";
Copy link
Contributor

Choose a reason for hiding this comment

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

Strictly speaking, you can do rev = version here.

@snyh
Copy link
Member Author

snyh commented Apr 9, 2017

@joachifm thanks your help. I have adjusted the PR

@snyh
Copy link
Member Author

snyh commented Apr 12, 2017

@joachifm Can we merge this?

By the way, how can I mirror the cache.nixos.org ? I have seen someone say using nix copy ..., but I can't find there has a tool named nix

@joachifm
Copy link
Contributor

The nix command is currently only available in nixUnstable, afaik.

@7c6f434c 7c6f434c merged commit 4d4af5a into NixOS:master May 1, 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