prometheus-shelly-exporter: init at 1.0.0

This commit is contained in:
Pol Dellaiera 2023-01-30 11:06:52 +01:00
parent 54b15fa757
commit 79ce805761
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "shelly_exporter";
version = "1.0.0";
src = fetchFromGitHub {
owner = "aexel90";
repo = pname;
rev = "v${version}";
sha256 = "sha256-L0TuBDq5eEahQvzqd1WuvmXuQbbblCM+Nvj15IybnVo=";
};
vendorSha256 = "sha256-BCrge2xLT4b4wpYA+zcsH64a/nfV8+HeZF7L49p2gEw=";
passthru.tests = { inherit (nixosTests.prometheus-exporters) shelly; };
meta = with lib; {
description = "Shelly humidity sensor exporter for prometheus";
homepage = "https://github.com/aexel90/shelly_exporter";
license = licenses.asl20;
maintainers = with maintainers; [drupol];
};
}

View file

@ -25016,6 +25016,7 @@ with pkgs;
prometheus-rtl_433-exporter = callPackage ../servers/monitoring/prometheus/rtl_433-exporter.nix { }; prometheus-rtl_433-exporter = callPackage ../servers/monitoring/prometheus/rtl_433-exporter.nix { };
prometheus-sachet = callPackage ../servers/monitoring/prometheus/sachet.nix { }; prometheus-sachet = callPackage ../servers/monitoring/prometheus/sachet.nix { };
prometheus-script-exporter = callPackage ../servers/monitoring/prometheus/script-exporter.nix { }; prometheus-script-exporter = callPackage ../servers/monitoring/prometheus/script-exporter.nix { };
prometheus-shelly-exporter = callPackage ../servers/monitoring/prometheus/shelly-exporter.nix { };
prometheus-smartctl-exporter = callPackage ../servers/monitoring/prometheus/smartctl-exporter { }; prometheus-smartctl-exporter = callPackage ../servers/monitoring/prometheus/smartctl-exporter { };
prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { }; prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { };
prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { }; prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { };