mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
prometheus-smartctl-exporter: add passthru.tests
This commit is contained in:
parent
7a11d055a3
commit
ebcff906a0
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -20,6 +21,8 @@ buildGoModule rec {
|
||||
"-X github.com/prometheus/common/version.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) smartctl; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Export smartctl statistics for Prometheus";
|
||||
homepage = "https://github.com/prometheus-community/smartctl_exporter";
|
||||
|
Loading…
Reference in New Issue
Block a user