lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #194375 from sikmir/paho-mqtt

authored by

Sandro and committed by
GitHub
c0adb75f dd18ee8d

+62
+33
pkgs/development/libraries/paho-mqtt-c/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, openssl }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "paho.mqtt.c"; 5 + version = "1.3.11"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "eclipse"; 9 + repo = "paho.mqtt.c"; 10 + rev = "v${version}"; 11 + hash = "sha256-TGCWA9tOOx0rCb/XQWqLFbXb9gOyGS8u6o9fvSRS6xI="; 12 + }; 13 + 14 + postPatch = '' 15 + substituteInPlace src/MQTTVersion.c \ 16 + --replace "namebuf[60]" "namebuf[120]" \ 17 + --replace "lib%s" "$out/lib/lib%s" 18 + ''; 19 + 20 + nativeBuildInputs = [ cmake ]; 21 + 22 + buildInputs = [ openssl ]; 23 + 24 + cmakeFlags = [ "-DPAHO_WITH_SSL=TRUE" ]; 25 + 26 + meta = with lib; { 27 + description = "Eclipse Paho MQTT C Client Library"; 28 + homepage = "https://www.eclipse.org/paho/"; 29 + license = licenses.epl20; 30 + maintainers = with maintainers; [ sikmir ]; 31 + platforms = platforms.unix; 32 + }; 33 + }
+25
pkgs/development/libraries/paho-mqtt-cpp/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, openssl, paho-mqtt-c }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "paho.mqtt.cpp"; 5 + version = "1.2.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "eclipse"; 9 + repo = "paho.mqtt.cpp"; 10 + rev = "v${version}"; 11 + hash = "sha256-tcq0a4X5dKE4rnczRMAVe3Wt43YzUKbxsv9Sk+q+IB8="; 12 + }; 13 + 14 + nativeBuildInputs = [ cmake ]; 15 + 16 + buildInputs = [ openssl paho-mqtt-c ]; 17 + 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 + }; 25 + }
+4
pkgs/top-level/all-packages.nix
··· 10038 10038 10039 10039 pagmo2 = callPackage ../development/libraries/pagmo2 { }; 10040 10040 10041 + paho-mqtt-c = callPackage ../development/libraries/paho-mqtt-c { }; 10042 + 10043 + paho-mqtt-cpp = callPackage ../development/libraries/paho-mqtt-cpp { }; 10044 + 10041 10045 pakcs = callPackage ../development/compilers/pakcs { 10042 10046 # Doesn't compile with GHC 9.0 due to whitespace syntax changes 10043 10047 # see also https://github.com/NixOS/nixpkgs/issues/166108