nixpkgs/pkgs/servers/monitoring/prometheus/modemmanager-exporter.nix
Matt Layher 443798ece0
prometheus-modemmanager-exporter: 0.1.0 -> 0.2.0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-11-25 08:08:50 -05:00

24 lines
718 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "modemmanager-exporter";
version = "0.2.0";
src = fetchFromGitHub {
owner = "mdlayher";
repo = "modemmanager_exporter";
rev = "v${version}";
sha256 = "sha256-wQATmTjYsm1J2DicPryoa/jVpbLjXz+1TTQUH5yGV6w=";
};
vendorSha256 = "sha256-wGCRpFnt9bxc5Ygg6H1kI9sXB4mVFBdLeaahAFtvNbg=";
passthru.tests = { inherit (nixosTests.prometheus-exporters) modemmanager; };
meta = with lib; {
homepage = "https://github.com/mdlayher/modemmanager_exporter";
description = "Prometheus exporter for ModemManager and its devices";
license = licenses.mit;
maintainers = with maintainers; [ mdlayher ];
};
}