nixpkgs/pkgs/tools/text/chars/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
684 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "chars";
2022-02-11 02:44:39 +00:00
version = "0.6.0";
src = fetchFromGitHub {
owner = "antifuchs";
repo = pname;
rev = "v${version}";
2022-02-11 02:44:39 +00:00
sha256 = "sha256-aswosSXAh0wkO4N/y/H54dufMDrloWjpjrSWHvHR1rc=";
};
2022-02-11 02:44:39 +00:00
cargoSha256 = "sha256-CqPmasdpXWjCn65G2Ua0h3v+TVP0QPFAdtKOFyoYW/0=";
2021-01-15 09:19:50 +00:00
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 ];
};
}