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 21, 2024
1 parent abf02b4 commit bff9623
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkgs/servers/mqtt/mosquitto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, uthash
, fetchpatch
, nixosTests
}:

Expand All @@ -30,24 +29,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 bff9623

Please sign in to comment.