2021-12-19 21:58:44 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "mqttui";
|
2023-05-18 10:50:00 +00:00
|
|
|
version = "0.19.0";
|
2021-12-19 21:58:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EdJoPaTo";
|
|
|
|
repo = pname;
|
2023-05-19 17:12:17 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-cezG9hdHOeTExX4OJwJ22e/PvfdySPzQGwxumavV++Q=";
|
2021-12-19 21:58:44 +00:00
|
|
|
};
|
|
|
|
|
2023-05-19 17:12:17 +00:00
|
|
|
cargoHash = "sha256-vSlziZtjyzsd346qUBEPEl8I3UlPhWHRu4+FiD1XqOo=";
|
2021-12-19 21:58:44 +00:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal client for MQTT";
|
|
|
|
homepage = "https://github.com/EdJoPaTo/mqttui";
|
2023-05-19 17:12:17 +00:00
|
|
|
changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${version}/CHANGELOG.md";
|
2021-12-19 21:58:44 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|