Skip to content

Commit

Permalink
mosquitto: 2.0.18 -> 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
datafoo committed Oct 18, 2024
1 parent abf02b4 commit b76e567
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pkgs/servers/mqtt/mosquitto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,15 @@ let
in
stdenv.mkDerivation rec {
pname = "mosquitto";
version = "2.0.18";
version = "2.0.20";

src = fetchFromGitHub {
owner = "eclipse";
repo = "mosquitto";
rev = "v${version}";
hash = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
hash = "sha256-oZo6J6mxMC05jJ8RXIunOMB3kptA6FElchKlg4qmuQ8=";
};

patches = lib.optionals stdenv.hostPlatform.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 \
Expand Down

0 comments on commit b76e567

Please sign in to comment.