mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
29 lines
684 B
Nix
29 lines
684 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "chars";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antifuchs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aswosSXAh0wkO4N/y/H54dufMDrloWjpjrSWHvHR1rc=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-CqPmasdpXWjCn65G2Ua0h3v+TVP0QPFAdtKOFyoYW/0=";
|
|
|
|
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 ];
|
|
};
|
|
}
|