prometheus-shelly-exporter: init at 1.0.0
This commit is contained in:
parent
54b15fa757
commit
79ce805761
2 changed files with 25 additions and 0 deletions
24
pkgs/servers/monitoring/prometheus/shelly-exporter.nix
Normal file
24
pkgs/servers/monitoring/prometheus/shelly-exporter.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue