Merge pull request #245042 from 70m6/feature/mqtt_cpp
mqtt_cpp: init at 13.2.1
This commit is contained in:
commit
991026bedc
3 changed files with 36 additions and 0 deletions
|
@ -15636,6 +15636,10 @@
|
|||
githubId = 7669898;
|
||||
name = "Katharina Fey";
|
||||
};
|
||||
spalf = {
|
||||
email = "tom@tombarrett.xyz";
|
||||
name = "tom barrett";
|
||||
};
|
||||
spease = {
|
||||
email = "peasteven@gmail.com";
|
||||
github = "spease";
|
||||
|
|
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;
|
||||
};
|
||||
})
|
|
@ -10611,6 +10611,8 @@ with pkgs;
|
|||
|
||||
mpw = callPackage ../tools/security/mpw { };
|
||||
|
||||
mqtt_cpp = callPackage ../development/libraries/mqtt_cpp { };
|
||||
|
||||
mr = callPackage ../applications/version-management/mr { };
|
||||
|
||||
mrsh = callPackage ../shells/mrsh { };
|
||||
|
|
Loading…
Reference in a new issue