2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-11-10 23:41:49 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "chars";
|
2022-02-11 02:44:39 +00:00
|
|
|
version = "0.6.0";
|
2020-11-10 23:41:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "antifuchs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-11 02:44:39 +00:00
|
|
|
sha256 = "sha256-aswosSXAh0wkO4N/y/H54dufMDrloWjpjrSWHvHR1rc=";
|
2020-11-10 23:41:49 +00:00
|
|
|
};
|
|
|
|
|
2022-02-11 02:44:39 +00:00
|
|
|
cargoSha256 = "sha256-CqPmasdpXWjCn65G2Ua0h3v+TVP0QPFAdtKOFyoYW/0=";
|
2020-11-10 23:41:49 +00:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2020-11-10 23:41:49 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-10 23:41:49 +00:00
|
|
|
description = "Commandline tool to display information about unicode characters";
|
|
|
|
homepage = "https://github.com/antifuchs/chars";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bbigras ];
|
|
|
|
};
|
|
|
|
}
|