mosquitto: 1.5.8 -> 1.6
This commit is contained in:
parent
d260277928
commit
30e71f9cb8
|
@ -1,19 +1,16 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, docbook_xsl, libxslt
|
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, docbook_xsl, libxslt
|
||||||
, openssl, libuuid, libwebsockets, c-ares, libuv
|
, openssl, libuuid, libwebsockets, c-ares, libuv
|
||||||
, systemd ? null }:
|
, systemd ? null, withSystemd ? stdenv.isLinux }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
withSystemd = stdenv.isLinux;
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "mosquitto-${version}";
|
name = "mosquitto-${version}";
|
||||||
version = "1.5.8";
|
version = "1.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eclipse";
|
owner = "eclipse";
|
||||||
repo = "mosquitto";
|
repo = "mosquitto";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rf8g6fq7g1mhwsajsgvvlynasybgc51v0qg5j6ynsxfh8yi7s6r";
|
sha256 = "1yvn0yj9hb502lvk2yrshpvrnq2fddjyarnw37ip34mhxynnz5gb";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -38,8 +35,6 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake docbook_xsl libxslt ];
|
nativeBuildInputs = [ cmake docbook_xsl libxslt ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWITH_THREADING=ON"
|
"-DWITH_THREADING=ON"
|
||||||
"-DWITH_WEBSOCKETS=ON"
|
"-DWITH_WEBSOCKETS=ON"
|
||||||
|
|
Loading…
Reference in New Issue