paho-mqtt-cpp: init at 1.2.0

This commit is contained in:
Nikolay Korotkiy 2022-10-04 11:59:17 +03:00
parent 042138b346
commit 34a34da2c7
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, cmake, openssl, paho-mqtt-c }:
stdenv.mkDerivation rec {
pname = "paho.mqtt.cpp";
version = "1.2.0";
src = fetchFromGitHub {
owner = "eclipse";
repo = "paho.mqtt.cpp";
rev = "v${version}";
hash = "sha256-tcq0a4X5dKE4rnczRMAVe3Wt43YzUKbxsv9Sk+q+IB8=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl paho-mqtt-c ];
meta = with lib; {
description = "Eclipse Paho MQTT C++ Client Library";
homepage = "https://www.eclipse.org/paho/";
license = licenses.epl10;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}

View file

@ -10027,6 +10027,8 @@ with pkgs;
paho-mqtt-c = callPackage ../development/libraries/paho-mqtt-c { };
paho-mqtt-cpp = callPackage ../development/libraries/paho-mqtt-cpp { };
pakcs = callPackage ../development/compilers/pakcs {
# Doesn't compile with GHC 9.0 due to whitespace syntax changes
# see also https://github.com/NixOS/nixpkgs/issues/166108