Merge pull request #132700 from LeSuisse/mosquitto-2.0.11

mosquitto: 2.0.10 -> 2.0.11
This commit is contained in:
Sandro 2021-08-10 23:06:29 +02:00 committed by GitHub
commit 62626951be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,19 +12,29 @@
, openssl
, withSystemd ? stdenv.isLinux
, systemd
, fetchpatch
}:
stdenv.mkDerivation rec {
pname = "mosquitto";
version = "2.0.10";
version = "2.0.11";
src = fetchFromGitHub {
owner = "eclipse";
repo = pname;
rev = "v${version}";
sha256 = "144vw7b9ja4lci4mplbxs048x9aixd9c3s7rg6wc1k31w099rb12";
sha256 = "1i0kkqhjxqahkhsl60s46zlywa87jakv7h4sr3fhi1v53vwpb9mg";
};
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 \