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

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

23 lines
575 B
Nix
Raw Normal View History

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";
mainProgram = "tuc";
2022-08-03 11:36:08 +00:00
homepage = "https://github.com/riquito/tuc";
license = licenses.gpl3;
maintainers = with maintainers; [ dit7ya ];
};
}