paho-mqtt-cpp: init at 1.2.0
This commit is contained in:
parent
042138b346
commit
34a34da2c7
2 changed files with 27 additions and 0 deletions
25
pkgs/development/libraries/paho-mqtt-cpp/default.nix
Normal file
25
pkgs/development/libraries/paho-mqtt-cpp/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue