mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #256051 from datafoo/mosquitto
mosquitto: 2.0.17 -> 2.0.18
This commit is contained in:
commit
0ac7840a74
1 changed files with 7 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
|||
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
||||
, systemd
|
||||
, fetchpatch
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -28,13 +29,13 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mosquitto";
|
||||
version = "2.0.17";
|
||||
version = "2.0.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eclipse";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hOnZ6oHLvunZL6MrCmR5GkROQNww34QQ3m4gYDaSpb4=";
|
||||
sha256 = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
|
@ -76,6 +77,10 @@ stdenv.mkDerivation rec {
|
|||
"-DWITH_WEBSOCKETS=ON"
|
||||
] ++ lib.optional withSystemd "-DWITH_SYSTEMD=ON";
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) mosquitto;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open source MQTT v3.1/3.1.1/5.0 broker";
|
||||
homepage = "https://mosquitto.org/";
|
||||
|
|
Loading…
Reference in a new issue