paho-mqtt-c: 1.3.13 -> 1.3.14, paho-mqtt-cpp: 1.4.1 → 1.5.1 (#371999)

authored by Weijia Wang and committed by GitHub e29ebe8d 3d694ed9

+18 -18
+11 -11
pkgs/by-name/pa/paho-mqtt-c/package.nix
··· 8 enableShared ? !stdenv.hostPlatform.isStatic, 9 }: 10 11 - stdenv.mkDerivation rec { 12 pname = "paho.mqtt.c"; 13 - version = "1.3.13"; 14 15 src = fetchFromGitHub { 16 owner = "eclipse"; 17 repo = "paho.mqtt.c"; 18 - rev = "v${version}"; 19 - hash = "sha256-dKQnepQAryAjImh2rX1jdgiKBtJQy9wzk/7rGQjUtPg="; 20 }; 21 22 postPatch = '' 23 substituteInPlace src/MQTTVersion.c \ 24 - --replace "namebuf[60]" "namebuf[120]" \ 25 - --replace "lib%s" "$out/lib/lib%s" 26 ''; 27 28 nativeBuildInputs = [ cmake ]; ··· 35 (lib.cmakeBool "PAHO_BUILD_SHARED" enableShared) 36 ]; 37 38 - meta = with lib; { 39 description = "Eclipse Paho MQTT C Client Library"; 40 mainProgram = "MQTTVersion"; 41 homepage = "https://www.eclipse.org/paho/"; 42 - license = licenses.epl20; 43 - maintainers = with maintainers; [ sikmir ]; 44 - platforms = platforms.unix; 45 }; 46 - }
··· 8 enableShared ? !stdenv.hostPlatform.isStatic, 9 }: 10 11 + stdenv.mkDerivation (finalAttrs: { 12 pname = "paho.mqtt.c"; 13 + version = "1.3.14"; 14 15 src = fetchFromGitHub { 16 owner = "eclipse"; 17 repo = "paho.mqtt.c"; 18 + tag = "v${finalAttrs.version}"; 19 + hash = "sha256-42P55qzt3FUp6yQdsP82va0wXg0EWDRGL/KuZpjp04g="; 20 }; 21 22 postPatch = '' 23 substituteInPlace src/MQTTVersion.c \ 24 + --replace-warn "namebuf[60]" "namebuf[120]" \ 25 + --replace-warn "lib%s" "$out/lib/lib%s" 26 ''; 27 28 nativeBuildInputs = [ cmake ]; ··· 35 (lib.cmakeBool "PAHO_BUILD_SHARED" enableShared) 36 ]; 37 38 + meta = { 39 description = "Eclipse Paho MQTT C Client Library"; 40 mainProgram = "MQTTVersion"; 41 homepage = "https://www.eclipse.org/paho/"; 42 + license = lib.licenses.epl20; 43 + maintainers = with lib.maintainers; [ sikmir ]; 44 + platforms = lib.platforms.unix; 45 }; 46 + })
+7 -7
pkgs/by-name/pa/paho-mqtt-cpp/package.nix
··· 11 12 stdenv.mkDerivation (finalAttrs: { 13 pname = "paho.mqtt.cpp"; 14 - version = "1.4.1"; 15 16 src = fetchFromGitHub { 17 owner = "eclipse"; 18 repo = "paho.mqtt.cpp"; 19 - rev = "v${finalAttrs.version}"; 20 - hash = "sha256-xP3M7d7ig19kP7MfOgI0S3UHGgzkJZyv4F+ayXqMtuE="; 21 }; 22 23 nativeBuildInputs = [ cmake ]; ··· 33 (lib.cmakeBool "PAHO_BUILD_SHARED" enableShared) 34 ]; 35 36 - meta = with lib; { 37 description = "Eclipse Paho MQTT C++ Client Library"; 38 homepage = "https://www.eclipse.org/paho/"; 39 - license = licenses.epl10; 40 - maintainers = with maintainers; [ sikmir ]; 41 - platforms = platforms.unix; 42 }; 43 })
··· 11 12 stdenv.mkDerivation (finalAttrs: { 13 pname = "paho.mqtt.cpp"; 14 + version = "1.5.1"; 15 16 src = fetchFromGitHub { 17 owner = "eclipse"; 18 repo = "paho.mqtt.cpp"; 19 + tag = "v${finalAttrs.version}"; 20 + hash = "sha256-LJ2V+TIVKCNftBk4fK0rCsuNudYg9dSYw/MAL+/raz0="; 21 }; 22 23 nativeBuildInputs = [ cmake ]; ··· 33 (lib.cmakeBool "PAHO_BUILD_SHARED" enableShared) 34 ]; 35 36 + meta = { 37 description = "Eclipse Paho MQTT C++ Client Library"; 38 homepage = "https://www.eclipse.org/paho/"; 39 + license = lib.licenses.epl10; 40 + maintainers = with lib.maintainers; [ sikmir ]; 41 + platforms = lib.platforms.unix; 42 }; 43 })