81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
29 lines
642 B
Nix
29 lines
642 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "mqttui";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EdJoPaTo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ScB0zJXyk8bPEDCxdymMqNmlhe/skNHr6IRmJpme+qQ=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-736UYTCs4d1DcpHWl5AejEaW+SYzlgElozC3t/RU41g=";
|
|
|
|
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 ];
|
|
};
|
|
}
|