mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
db5126d798
Diff: https://github.com/EdJoPaTo/mqttui/compare/refs/tags/v0.21.0...v0.21.1 Changelog: https://github.com/EdJoPaTo/mqttui/blob/v0.21.1/CHANGELOG.md
44 lines
988 B
Nix
44 lines
988 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
darwin,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "mqttui";
|
|
version = "0.21.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EdJoPaTo";
|
|
repo = "mqttui";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-JxaXiQj/dGSUhqyDtNij3JKT5NtEkyMta6rLGHmcLrU=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"ratatui-binary-data-widget-0.1.0" = "sha256-IQ6BbFW1huv8QrNjqBMVKVMN7gfic/NyTBQNf+wCwAo=";
|
|
};
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|