blob: fca89f8d0f68a30b313d4c5656424ebbf17cb0ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
};
})
|