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>
This commit is contained in:
Bruno Bigras 2020-11-10 18:41:49 -05:00
parent e419de361d
commit b2acf96e80
2 changed files with 32 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };