1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
4 pname = "modemmanager-exporter";
7 src = fetchFromGitHub {
9 repo = "modemmanager_exporter";
11 sha256 = "sha256-wQATmTjYsm1J2DicPryoa/jVpbLjXz+1TTQUH5yGV6w=";
14 vendorHash = "sha256-wGCRpFnt9bxc5Ygg6H1kI9sXB4mVFBdLeaahAFtvNbg=";
16 passthru.tests = { inherit (nixosTests.prometheus-exporters) modemmanager; };
19 homepage = "https://github.com/mdlayher/modemmanager_exporter";
20 description = "Prometheus exporter for ModemManager and its devices";
21 mainProgram = "modemmanager_exporter";
22 license = licenses.mit;
23 maintainers = with maintainers; [ mdlayher ];