Merge pull request #293521 from sikmir/mqttui

mqttui: 0.19.0 → 0.20.0
This commit is contained in:
Jon Seager
2024-03-06 12:34:04 +00:00
committed by GitHub
4 changed files with 1811 additions and 35 deletions
+1771
View File
File diff suppressed because it is too large Load Diff
+40
View File
@@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "mqttui";
version = "0.20.0";
src = fetchFromGitHub {
owner = "EdJoPaTo";
repo = "mqttui";
rev = "refs/tags/v${version}";
hash = "sha256-NfRPuZFZMZl1ulEGD5oQkS25oJdBVyLiN3QCQWrDej8=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"ratatui-binary-data-widget-0.1.0" = "sha256-4/8ZZag7vpEXnh6wJvZkgGLrOQNJXsnek3gFG/F0+zY=";
};
};
postPatch = ''
ln -sf ${./Cargo.lock} Cargo.lock
'';
buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta = with lib; {
description = "Terminal client for MQTT";
homepage = "https://github.com/EdJoPaTo/mqttui";
changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${version}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab sikmir ];
mainProgram = "mqttui";
};
}
-31
View File
@@ -1,31 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "mqttui";
version = "0.19.0";
src = fetchFromGitHub {
owner = "EdJoPaTo";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-cezG9hdHOeTExX4OJwJ22e/PvfdySPzQGwxumavV++Q=";
};
cargoHash = "sha256-vSlziZtjyzsd346qUBEPEl8I3UlPhWHRu4+FiD1XqOo=";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Terminal client for MQTT";
homepage = "https://github.com/EdJoPaTo/mqttui";
changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${version}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "mqttui";
};
}
-4
View File
@@ -23763,10 +23763,6 @@ with pkgs;
mqttmultimeter = callPackage ../tools/networking/mqttmultimeter { };
mqttui = callPackage ../tools/networking/mqttui {
inherit (darwin.apple_sdk.frameworks) Security;
};
msgpack = callPackage ../development/libraries/msgpack { };
msgpack-c = callPackage ../development/libraries/msgpack-c { };