2023-07-13 17:40:23 +08:00
|
|
|
{ stdenvNoCC, lib, fetchurl, appimage-run, makeWrapper, symlinkJoin }:
|
2023-06-20 16:18:45 +08:00
|
|
|
|
2023-07-13 17:40:23 +08:00
|
|
|
let
|
2023-06-20 16:18:45 +08:00
|
|
|
pname = "MQTT-Explorer";
|
|
|
|
version = "0.4.0-beta1";
|
2023-07-13 17:40:23 +08:00
|
|
|
mqtt-explorer = fetchurl {
|
|
|
|
url ="https://github.com/thomasnordquist/${pname}/releases/download/0.0.0-${version}/${pname}-${version}.AppImage";
|
|
|
|
sha256 = "0x9ava13hn1nkk2kllh5ldi4b3hgmgwahk08sq48yljilgda4ppn";
|
2023-06-20 16:18:45 +08:00
|
|
|
};
|
2023-07-13 17:40:23 +08:00
|
|
|
in symlinkJoin {
|
|
|
|
name = "mqtt-explorer";
|
|
|
|
paths = [ appimage-run ];
|
2023-06-20 16:18:45 +08:00
|
|
|
buildInputs = [ makeWrapper ];
|
2023-07-13 17:40:23 +08:00
|
|
|
postBuild = ''
|
|
|
|
mv $out/bin/appimage-run $out/bin/mqtt-explorer
|
|
|
|
wrapProgram $out/bin/mqtt-explorer --add-flags "${mqtt-explorer}"
|
2023-06-20 16:18:45 +08:00
|
|
|
'';
|
|
|
|
}
|