From b2acf96e80752d91ed3d632132b36a67f6502ba6 Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Tue, 10 Nov 2020 18:41:49 -0500 Subject: chars: init at 0.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ivar <41924494+IvarWithoutBones@users.noreply.github.com> Co-authored-by: Sandro Jäckel --- pkgs/tools/text/chars/default.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/tools/text/chars/default.nix (limited to 'pkgs/tools/text') 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 ]; + }; +} -- cgit 1.4.1