mqtt_cpp: init at 13.2.1
This commit is contained in:
parent
a494e4572b
commit
a95c1c82d3
30
pkgs/development/libraries/mqtt_cpp/default.nix
Normal file
30
pkgs/development/libraries/mqtt_cpp/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cmake,
|
||||||
|
boost,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "mqtt_cpp";
|
||||||
|
version = "13.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "redboltz";
|
||||||
|
repo = "mqtt_cpp";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-E5dMZ0uJ1AOwiGTxD4qhbO72blplmXHh1gTYGE34H+0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [cmake];
|
||||||
|
|
||||||
|
buildInputs = [boost];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "MQTT client/server for C++14 based on Boost.Asio";
|
||||||
|
homepage = "https://github.com/redboltz/mqtt_cpp";
|
||||||
|
license = licenses.boost;
|
||||||
|
maintainers = with maintainers; [spalf];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
})
|
|
@ -10563,6 +10563,8 @@ with pkgs;
|
||||||
|
|
||||||
mpw = callPackage ../tools/security/mpw { };
|
mpw = callPackage ../tools/security/mpw { };
|
||||||
|
|
||||||
|
mqtt_cpp = callPackage ../development/libraries/mqtt_cpp { };
|
||||||
|
|
||||||
mr = callPackage ../applications/version-management/mr { };
|
mr = callPackage ../applications/version-management/mr { };
|
||||||
|
|
||||||
mrsh = callPackage ../shells/mrsh { };
|
mrsh = callPackage ../shells/mrsh { };
|
||||||
|
|
Loading…
Reference in a new issue