nanomq: 0.22.1 → 0.23.6
This commit is contained in:
parent
5a57b8bdfc
commit
aaaa035a99
@ -49,21 +49,16 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "nanomq";
|
pname = "nanomq";
|
||||||
version = "0.22.1";
|
version = "0.23.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "emqx";
|
owner = "emqx";
|
||||||
repo = "nanomq";
|
repo = "nanomq";
|
||||||
rev = finalAttrs.version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-aB1gEzo2dX8NY+e0Dq4ELgkUpL/NtvvuY/l539BPIng=";
|
hash = "sha256-Fy/9ASpQ/PHGItYhad69DdHWqCr/Wa+Xdm53Q573Pfc=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace CMakeLists.txt \
|
|
||||||
--replace "DESTINATION /etc" "DESTINATION $out/etc"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
@ -90,8 +85,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
(lib.cmakeBool "NNG_ENABLE_TLS" true)
|
(lib.cmakeBool "NNG_ENABLE_TLS" true)
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=int-conversion";
|
|
||||||
|
|
||||||
# disabled by default - not 100% reliable and making nanomq depend on
|
# disabled by default - not 100% reliable and making nanomq depend on
|
||||||
# mosquitto would annoy people
|
# mosquitto would annoy people
|
||||||
doInstallCheck = false;
|
doInstallCheck = false;
|
||||||
@ -133,11 +126,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Ultra-lightweight and blazing-fast MQTT broker for IoT edge";
|
description = "Ultra-lightweight and blazing-fast MQTT broker for IoT edge";
|
||||||
homepage = "https://nanomq.io/";
|
homepage = "https://nanomq.io/";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with lib.maintainers; [ sikmir ];
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user