speedtest-exporter: resolve let in, format

This commit is contained in:
Sandro Jäckel 2023-04-09 03:35:17 +02:00
parent a6ab4bfac4
commit 3c789e1349
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,25 +1,22 @@
{ lib, buildGoModule, fetchFromGitHub }:
let
buildGoModule {
pname = "speedtest_exporter";
version = "0.3.2";
src = fetchFromGitHub {
owner = "nlamirault";
repo = "speedtest_exporter";
rev = "7364db62b98ab2736405c7cde960698ab5b688bf";
sha256 = "WIMDv63sHyZVw3Ct5LFXCIufj7sU2H81n+hT/NiPMeQ=";
};
in buildGoModule rec {
inherit pname version src;
owner = "nlamirault";
repo = "speedtest_exporter";
rev = "7364db62b98ab2736405c7cde960698ab5b688bf";
sha256 = "WIMDv63sHyZVw3Ct5LFXCIufj7sU2H81n+hT/NiPMeQ=";
};
vendorSha256 = "Lm73pZzdNZv7J+vKrtQXxm4HiAuB9lugKT/oanmD0HM=";
meta = with lib; {
license = licenses.asl20;
homepage = "https://github.com/nlamirault/speedtest_exporter";
description = "Prometheus exporter for Speedtest metrics";
maintainers = with maintainers; [ jonaenz ];
platforms = platforms.unix;
license = licenses.asl20;
homepage = "https://github.com/nlamirault/speedtest_exporter";
description = "Prometheus exporter for Speedtest metrics";
maintainers = with maintainers; [ jonaenz ];
};
}