diff options
author | Bruno Bigras <bigras.bruno@gmail.com> | 2020-11-10 18:41:49 -0500 |
---|---|---|
committer | Bruno Bigras <bigras.bruno@gmail.com> | 2020-11-22 23:41:37 -0500 |
commit | b2acf96e80752d91ed3d632132b36a67f6502ba6 (patch) | |
tree | 727bc6866efc3684bc6866cb2ffa0582dc4edcd5 /pkgs | |
parent | e419de361d70b37434d459bc6a7195103c1903e6 (diff) |
chars: init at 0.5.0
Co-authored-by: Ivar <41924494+IvarWithoutBones@users.noreply.github.com> Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/text/chars/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/text/chars/default.nix b/pkgs/tools/text/chars/default.nix new file mode 100644 index 0000000000000..fa58d110550ee --- /dev/null +++ b/pkgs/tools/text/chars/default.nix @@ -0,0 +1,28 @@ +{ stdenv +, fetchFromGitHub +, rustPlatform +, Security +}: + +rustPlatform.buildRustPackage rec { + pname = "chars"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "antifuchs"; + repo = pname; + rev = "v${version}"; + sha256 = "1pyda3b6svxzc98d7ggl7v9xd0xhilmpjrnajzh77zcwzq42s17l"; + }; + + cargoSha256 = "1ampmw0l2wk2xp4q13aj5shxncqfh4dc3rsmpk2scaivanrsikn5"; + + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + + meta = with stdenv.lib; { + description = "Commandline tool to display information about unicode characters"; + homepage = "https://github.com/antifuchs/chars"; + license = licenses.mit; + maintainers = with maintainers; [ bbigras ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 65e7818736d36..1b328edaa8d72 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -955,6 +955,10 @@ in charm = callPackage ../applications/misc/charm { }; + chars = callPackage ../tools/text/chars { + inherit (darwin.apple_sdk.frameworks) Security; + }; + ec2_api_tools = callPackage ../tools/virtualization/ec2-api-tools { }; ec2_ami_tools = callPackage ../tools/virtualization/ec2-ami-tools { }; |