diff --git a/pkgs/servers/mqtt/mosquitto/default.nix b/pkgs/servers/mqtt/mosquitto/default.nix index 824dcdf62f885..91058e6be7728 100644 --- a/pkgs/servers/mqtt/mosquitto/default.nix +++ b/pkgs/servers/mqtt/mosquitto/default.nix @@ -13,7 +13,6 @@ , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd , systemd , uthash -, fetchpatch , nixosTests }: @@ -30,24 +29,15 @@ let in stdenv.mkDerivation rec { pname = "mosquitto"; - version = "2.0.18"; + version = "2.0.20"; src = fetchFromGitHub { owner = "eclipse"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk="; + sha256 = "sha256-oZo6J6mxMC05jJ8RXIunOMB3kptA6FElchKlg4qmuQ8="; }; - patches = lib.optionals stdenv.isDarwin [ - (fetchpatch { - name = "revert-cmake-shared-to-module.patch"; # See https://github.com/eclipse/mosquitto/issues/2277 - url = "https://github.com/eclipse/mosquitto/commit/e21eaeca37196439b3e89bb8fd2eb1903ef94845.patch"; - sha256 = "14syi2c1rks8sl2aw09my276w45yq1iasvzkqcrqwy4drdqrf069"; - revert = true; - }) - ]; - postPatch = '' for f in html manpage ; do substituteInPlace man/$f.xsl \