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

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

25 lines
601 B
Nix
Raw Normal View History

{ rustPlatform, lib, fetchFromGitLab }:
rustPlatform.buildRustPackage rec {
pname = "uwc";
2023-08-14 05:09:44 +02:00
version = "1.0.5";
src = fetchFromGitLab {
owner = "dead10ck";
repo = pname;
rev = "v${version}";
2023-08-14 05:09:44 +02:00
hash = "sha256-x2mijB1GkxdraFroG1+PiBzWKPjsaAeoDt0HFL2v93I=";
};
2023-08-14 05:09:44 +02:00
cargoHash = "sha256-0IvOaQaXfdEz5tlXh5gTbnZG9QZSWDVHGOqYq8aWOIc=";
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 ];
};
}