1{ lib, fetchFromGitHub, rustPlatform }:
2rustPlatform.buildRustPackage rec {
3 pname = "tuc";
4 version = "1.0.0";
5
6 src = fetchFromGitHub {
7 owner = "riquito";
8 repo = pname;
9 rev = "v${version}";
10 sha256 = "sha256-zEWQ1wGpEowVPdlezC/LZhoPGS546nuqREfavo3fbTs=";
11 };
12
13 cargoHash = "sha256-YRw1HxVy1/SOWfareR6rh6M78xFm+Im//klhXGGt95g=";
14
15 meta = with lib; {
16 description = "When cut doesn't cut it";
17 homepage = "https://github.com/riquito/tuc";
18 license = licenses.gpl3;
19 maintainers = with maintainers; [ dit7ya ];
20 };
21}