nur-packages

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

commit ec22ec18c42810cb4ec0b2c18f61c6b42455ee2f
parent 6c8bf617f64d468445ff9006b0d96c05d4e53170
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue, 13 Jun 2023 21:40:58 +0400

Add ioxy

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/mqtt/ioxy/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -387,6 +387,7 @@ lib.makeScope newScope ( emitter = callPackage ./mqtt/emitter { }; go-mqtt-to-influxdb = callPackage ./mqtt/go-mqtt-to-influxdb { }; influxdb-cxx = callPackage ./mqtt/influxdb-cxx { }; + ioxy = callPackage ./mqtt/ioxy { }; janus-mqtt-proxy = callPackage ./mqtt/janus-mqtt-proxy { }; mongoose = callPackage ./mqtt/mongoose { }; mqtt-benchmark = callPackage ./mqtt/mqtt-benchmark { }; diff --git a/pkgs/mqtt/ioxy/default.nix b/pkgs/mqtt/ioxy/default.nix @@ -0,0 +1,25 @@ +{ stdenv, lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "ioxy"; + version = "2022-11-25"; + + src = fetchFromGitHub { + owner = "NVISOsecurity"; + repo = "IOXY"; + rev = "023e9e64cc3e9fe6a330c640fc56f7abb985c64e"; + hash = "sha256-bhJgWnscT+qEVZHXQb9l72pm0q4NTBFnWmTqnhA6PSM="; + }; + + sourceRoot = "${src.name}/ioxy"; + + vendorHash = "sha256-VWw9yuwNnJYvIvl6ov24An867koyzPPbqNg0VIXCJiM="; + + meta = with lib; { + description = "MQTT intercepting proxy"; + inherit (src.meta) homepage; + license = licenses.gpl3; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}