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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
642 B
Nix
Raw Normal View History

2021-12-19 21:58:44 +00:00
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "mqttui";
2022-05-02 07:40:57 +00:00
version = "0.16.2";
2021-12-19 21:58:44 +00:00
src = fetchFromGitHub {
owner = "EdJoPaTo";
repo = pname;
rev = "v${version}";
2022-05-02 07:40:57 +00:00
sha256 = "sha256-u2KuB0cw0xCAc5uRgHNsQknTfLwQmO9CZjSJTdycEnc=";
2021-12-19 21:58:44 +00:00
};
2022-05-02 07:40:57 +00:00
cargoSha256 = "sha256-asJvunklc0zcrkgirC6wznwKNKLFQ6sN/B1GukI/NCo=";
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";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}