22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
29 lines
642 B
Nix
29 lines
642 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "mqttui";
|
|
version = "0.16.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EdJoPaTo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-u2KuB0cw0xCAc5uRgHNsQknTfLwQmO9CZjSJTdycEnc=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-asJvunklc0zcrkgirC6wznwKNKLFQ6sN/B1GukI/NCo=";
|
|
|
|
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 ];
|
|
};
|
|
}
|