depot/third_party/nixpkgs/pkgs/development/libraries/mqtt_cpp/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

30 lines
639 B
Nix

{
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;
};
})