9 pname = "idrac_exporter";
10 version = "unstable-2023-06-29";
12 src = fetchFromGitHub {
14 repo = "idrac_exporter";
15 rev = "3b311e0e6d602fb0938267287f425f341fbf11da";
16 sha256 = "sha256-N8wSjQE25TCXg/+JTsvQk3fjTBgfXTiSGHwZWFDmFKc=";
19 vendorHash = "sha256-iNV4VrdQONq7LXwAc6AaUROHy8TmmloUAL8EmuPtF/o=";
21 patches = [ ./idrac-exporter/config-from-environment.patch ];
30 passthru.tests = { inherit (nixosTests.prometheus-exporters) idrac; };
33 inherit (src.meta) homepage;
34 description = "Simple iDRAC exporter for Prometheus";
35 mainProgram = "idrac_exporter";
36 license = licenses.mit;
37 maintainers = with maintainers; [ codec ];