Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / paho-mqtt-cpp / default.nix
blobb62e774ba51397c4e0fede21bb6ae1663f693cf0
1 { lib, stdenv, fetchFromGitHub, cmake, openssl, paho-mqtt-c }:
3 stdenv.mkDerivation rec {
4   pname = "paho.mqtt.cpp";
5   version = "1.2.0";
7   src = fetchFromGitHub {
8     owner = "eclipse";
9     repo = "paho.mqtt.cpp";
10     rev = "v${version}";
11     hash = "sha256-tcq0a4X5dKE4rnczRMAVe3Wt43YzUKbxsv9Sk+q+IB8=";
12   };
14   nativeBuildInputs = [ cmake ];
16   buildInputs = [ openssl paho-mqtt-c ];
18   meta = with lib; {
19     description = "Eclipse Paho MQTT C++ Client Library";
20     homepage = "https://www.eclipse.org/paho/";
21     license = licenses.epl10;
22     maintainers = with maintainers; [ sikmir ];
23     platforms = platforms.unix;
24   };