nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 8faf6c350c9f5e37551599e607d57340cc0ab98f
parent 250db6d6a73e4df8b3ab788eba885e6841fb5b55
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun,  4 Jun 2023 15:06:59 +0400

Add nanosdk

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/mqtt/nanosdk/default.nix | 14++++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -391,6 +391,7 @@ lib.makeScope newScope ( mqtt-explorer = callPackage ./mqtt/mqtt-explorer { }; mqtt-to-influxdb = callPackage ./mqtt/mqtt-to-influxdb { }; mqtt-to-influxdb-forwarder = callPackage ./mqtt/mqtt-to-influxdb-forwarder { }; + nanosdk = callPackage ./mqtt/nanosdk { }; rumqtt = callPackage ./mqtt/rumqtt { inherit (darwin.apple_sdk.frameworks) Security; }; diff --git a/pkgs/mqtt/nanosdk/default.nix b/pkgs/mqtt/nanosdk/default.nix @@ -0,0 +1,14 @@ +{ fetchFromGitHub, nng }: + +nng.overrideAttrs (super: rec { + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "emqx"; + repo = "NanoSDK"; + rev = version; + hash = "sha256-wg9LgHMu5iywesFoQwqU5xp0cxFgtnZNhfCc4J7uMMI="; + fetchSubmodules = true; + }; +}) +