diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2020-11-27 22:58:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 22:58:54 +0100 |
commit | 54dd8fb5bdabb8b3e2447a34faf1d5142d769280 (patch) | |
tree | 7dde00d9e604c79326d46713fc7fd4e38b1b1abb /pkgs/tools/text/uwc/default.nix | |
parent | f7be7976903f7be2c15dadef1449219132e13a64 (diff) | |
parent | 58fd07cc7b7e38c24427ea2fed8f8d86b3ccc7f1 (diff) |
Merge pull request #105144 from ShamrockLee/uwc
uwc: Init at 1.0.4
Diffstat (limited to 'pkgs/tools/text/uwc/default.nix')
-rw-r--r-- | pkgs/tools/text/uwc/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/uwc/default.nix b/pkgs/tools/text/uwc/default.nix new file mode 100644 index 000000000000..cf8e5658f764 --- /dev/null +++ b/pkgs/tools/text/uwc/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} |