c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
28 lines
682 B
Nix
28 lines
682 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "chars";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antifuchs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-mBtwdPzIc6RgEFTyReStFlhS4UhhRWjBTKT6gD3tzpQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-wqyExG4haco6jg1zpbouz3xMR7sjiVIAC16PnDU2tc8=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
meta = with lib; {
|
|
description = "Commandline tool to display information about unicode characters";
|
|
homepage = "https://github.com/antifuchs/chars";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bbigras ];
|
|
};
|
|
}
|