2022-08-03 11:36:08 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tuc";
|
2024-01-02 07:18:25 +00:00
|
|
|
version = "1.2.0";
|
2022-08-03 11:36:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "riquito";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-01-02 07:18:25 +00:00
|
|
|
sha256 = "sha256-+QkkwQfp818bKVo1yUkWKLMqbdzRJ+oHpjxB+UFDRsU=";
|
2022-08-03 11:36:08 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 07:18:25 +00:00
|
|
|
cargoHash = "sha256-NbqmXptLmqLd6QizRB1bIM53Rdj010Hy3JqSuLQ4H24=";
|
2022-08-03 11:36:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "When cut doesn't cut it";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "tuc";
|
2022-08-03 11:36:08 +00:00
|
|
|
homepage = "https://github.com/riquito/tuc";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
|
|
};
|
|
|
|
}
|