nixpkgs-suyu/pkgs/tools/networking/mqttui/default.nix

30 lines
642 B
Nix
Raw Normal View History

2021-12-19 22:58:44 +01:00
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "mqttui";
2022-02-01 13:08:24 +01:00
version = "0.14.0";
2021-12-19 22:58:44 +01:00
src = fetchFromGitHub {
owner = "EdJoPaTo";
repo = pname;
rev = "v${version}";
2022-02-01 13:08:24 +01:00
sha256 = "sha256-ScB0zJXyk8bPEDCxdymMqNmlhe/skNHr6IRmJpme+qQ=";
2021-12-19 22:58:44 +01:00
};
2022-02-01 13:08:24 +01:00
cargoSha256 = "sha256-736UYTCs4d1DcpHWl5AejEaW+SYzlgElozC3t/RU41g=";
2021-12-19 22:58:44 +01:00
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 ];
};
}