Skip to content

Commit

Permalink
Merge pull request #103363 from bbigras/chars
Browse files Browse the repository at this point in the history
chars: init at 0.5.0
  • Loading branch information
SuperSandro2000 authored Nov 23, 2020
2 parents 3148778 + b2acf96 commit 8c24e6e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/tools/text/chars/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,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 { };
Expand Down

0 comments on commit 8c24e6e

Please sign in to comment.