default.nix (340B)
1 { fetchFromGitHub, nng }: 2 3 nng.overrideAttrs (super: rec { 4 version = "0.10.5"; 5 6 src = fetchFromGitHub { 7 owner = "emqx"; 8 repo = "NanoSDK"; 9 tag = version; 10 hash = "sha256-LSXYK8O2Y/PoaqzanIpM1DKTHvgL0kkULY48/SkW4ZY="; 11 fetchSubmodules = true; 12 }; 13 14 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; 15 })