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

unicode: init at 2.5 #29891

Merged
merged 1 commit into from Sep 28, 2017
Merged

unicode: init at 2.5 #29891

merged 1 commit into from Sep 28, 2017

Conversation

woffs
Copy link
Contributor

@woffs woffs commented Sep 28, 2017

Motivation for this change

a great tool to explore unicode from the command line

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.

@@ -19224,6 +19224,8 @@ with pkgs;

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

unicode-paracode = callPackage ../tools/misc/unicode { };
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have used "unicode-paracode" here because with "unicode" I get
error: value is a set while a Boolean was expected

Copy link
Member

Choose a reason for hiding this comment

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

it is used as argument in different locations like ncurses.

'';

meta = with stdenv.lib; {
description = "display unicode character properties";
Copy link
Member

Choose a reason for hiding this comment

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

Capitalize display

@Mic92 Mic92 merged commit ac6bb50 into NixOS:master Sep 28, 2017
@Mic92
Copy link
Member

Mic92 commented Sep 28, 2017

Thanks!

};

ucdtxt = fetchurl {
url = http://www.unicode.org/Public/11.0.0/ucd/UnicodeData-11.0.0d1.txt;
Copy link
Contributor

@xzfc xzfc Sep 30, 2017

Choose a reason for hiding this comment

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

I think it is better not to depend on not-yet-released Unicode data. I guess this file will be renamed UnicodeData.txt in the future, and this URL will break.

Related: there was a proposal at #29885 to move Unicode data to the separate package that other packages may depend on.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, I'll change that to the final 10.0.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants