depot/third_party/nixpkgs/pkgs/tools/text/uwc/default.nix
Default email cf3f6e7a7d Project import generated by Copybara.
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
2020-11-30 09:33:03 +01:00

24 lines
607 B
Nix

{ rustPlatform, lib, fetchFromGitLab }:
rustPlatform.buildRustPackage rec {
pname = "uwc";
version = "1.0.4";
src = fetchFromGitLab {
owner = "dead10ck";
repo = pname;
rev = "v${version}";
sha256 = "1ywqq9hrrm3frvd2sswknxygjlxi195kcy7g7phwq63j7hkyrn50";
};
cargoSha256 = "0ra62cf75b1c4knxxpbdg8m0sy2k02r52j606fp5l9crp0fml8l0";
doCheck = true;
meta = with lib; {
description = "Like wc, but unicode-aware, and with per-line mode";
homepage = "https://gitlab.com/dead10ck/uwc";
license = licenses.mit;
maintainers = with maintainers; [ ShamrockLee ];
};
}