diff --git a/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix b/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix new file mode 100644 index 000000000000..55caabff898d --- /dev/null +++ b/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix @@ -0,0 +1,31 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage rec { + pname = "zenoh-plugin-mqtt"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "eclipse-zenoh"; + repo = "zenoh-plugin-mqtt"; + tag = version; + hash = "sha256-GsYT46mBsvvSW3BG2stVpERvelbRIiUaWTco39IY6/A="; + }; + + cargoHash = "sha256-8q8pMUMciB8cPSpkeu9sjGJm6DxXicd0k/NJ+1uz4VU="; + + meta = { + description = "A Zenoh plug-in that allows to integrate and/or route MQTT pub/sub with Eclipse Zenoh"; + homepage = "https://github.com/eclipse-zenoh/zenoh-plugin-mqtt"; + license = with lib.licenses; [ + epl20 + asl20 + ]; + maintainers = with lib.maintainers; [ markuskowa ]; + platforms = lib.platforms.linux; + mainProgram = "zenoh-bridge-mqtt"; + }; +}