depot/third_party/nixpkgs/pkgs/tools/networking/mqttui/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

29 lines
642 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "mqttui";
version = "0.17.0";
src = fetchFromGitHub {
owner = "EdJoPaTo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GoSIck/P6s6flmfz2JbHZLgQJXXpLaxShOhmghIIMNc=";
};
cargoSha256 = "sha256-oxbHaSS9+J3KPvKDdi+tpl2BI/YdppyxqSyCSfSxjMY=";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Terminal client for MQTT";
homepage = "https://github.com/EdJoPaTo/mqttui";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}