Merge pull request #210773 from sikmir/nanomq

nanomq: 0.14.8 → 0.15.1
This commit is contained in:
Nikolay Korotkiy 2023-01-17 00:34:07 +04:00 committed by GitHub
commit e5c46497e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "nanomq"; pname = "nanomq";
version = "0.14.8"; version = "0.15.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "emqx"; owner = "emqx";
repo = "nanomq"; repo = "nanomq";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-rWLsH01XHtN/UlyOiMFI2UECuxodCkCVR/L72HIfNtY="; hash = "sha256-h4TCorZfg9Sin4CZPRifUkqeg4F2V1DluolerSeREs4=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -22,6 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ mbedtls sqlite ]; buildInputs = [ mbedtls sqlite ];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_NANOMQ_CLI=ON"
"-DNNG_ENABLE_TLS=ON" "-DNNG_ENABLE_TLS=ON"
"-DNNG_ENABLE_SQLITE=ON" "-DNNG_ENABLE_SQLITE=ON"
]; ];