depot/third_party/nixpkgs/pkgs/by-name/tu/tuc/package.nix

22 lines
575 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "tuc";
version = "1.2.0";
src = fetchFromGitHub {
owner = "riquito";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+QkkwQfp818bKVo1yUkWKLMqbdzRJ+oHpjxB+UFDRsU=";
};
cargoHash = "sha256-NbqmXptLmqLd6QizRB1bIM53Rdj010Hy3JqSuLQ4H24=";
meta = with lib; {
description = "When cut doesn't cut it";
mainProgram = "tuc";
homepage = "https://github.com/riquito/tuc";
license = licenses.gpl3;
maintainers = with maintainers; [ dit7ya ];
};
}