2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-11-24 20:58:05 +00:00
|
|
|
, 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";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2020-11-24 20:58:05 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-24 20:58:05 +00:00
|
|
|
description = "Commandline tool to display information about unicode characters";
|
|
|
|
homepage = "https://github.com/antifuchs/chars";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bbigras ];
|
|
|
|
};
|
|
|
|
}
|