1 { lib, stdenv, fetchFromGitHub, cmake, openssl, paho-mqtt-c }:
3 stdenv.mkDerivation rec {
4 pname = "paho.mqtt.cpp";
7 src = fetchFromGitHub {
9 repo = "paho.mqtt.cpp";
11 hash = "sha256-tcq0a4X5dKE4rnczRMAVe3Wt43YzUKbxsv9Sk+q+IB8=";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ openssl paho-mqtt-c ];
19 description = "Eclipse Paho MQTT C++ Client Library";
20 homepage = "https://www.eclipse.org/paho/";
21 license = licenses.epl10;
22 maintainers = with maintainers; [ sikmir ];
23 platforms = platforms.unix;