nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "mqttui";
9 version = "0.22.1";
10
11 src = fetchFromGitHub {
12 owner = "EdJoPaTo";
13 repo = "mqttui";
14 tag = "v${version}";
15 hash = "sha256-wKqIDKng4pfqDuYtqFRh3UIeZQ4QzzFlLkQn5MXcVlU=";
16 };
17
18 cargoHash = "sha256-gk5nA6np7dK4+j26aySNWfMZ9t/+7nZRaPsnhlDEnes=";
19
20 meta = {
21 description = "Terminal client for MQTT";
22 homepage = "https://github.com/EdJoPaTo/mqttui";
23 changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${version}/CHANGELOG.md";
24 license = lib.licenses.gpl3Only;
25 maintainers = with lib.maintainers; [
26 fab
27 sikmir
28 ];
29 mainProgram = "mqttui";
30 };
31}