Merge pull request #203012 from urandom2/speedtest-exporter

Fixes https://github.com/NixOS/nixpkgs/issues/107588
This commit is contained in:
Sandro 2022-11-28 00:08:30 +01:00 committed by GitHub
commit 9b2963d1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "speedtest-exporter";
version = "0.3.2";
src = fetchFromGitHub {
owner = "nlamirault";
repo = "speedtest_exporter";
rev = "v${version}";
hash = "sha256-WIMDv63sHyZVw3Ct5LFXCIufj7sU2H81n+hT/NiPMeQ=";
};
vendorHash = "sha256-Lm73pZzdNZv7J+vKrtQXxm4HiAuB9lugKT/oanmD0HM=";
meta = with lib; {
description = "Prometheus exporter for Speedtest metrics";
homepage = "https://github.com/nlamirault/speedtest_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ urandom ];
mainProgram = "speedtest_exporter";
};
}

View File

@ -22548,6 +22548,8 @@ with pkgs;
speech-tools = callPackage ../development/libraries/speech-tools {};
speedtest-exporter = callPackage ../development/libraries/speedtest-exporter {};
speex = callPackage ../development/libraries/speex {
fftw = fftwFloat;
};