Merge pull request #203012 from urandom2/speedtest-exporter
Fixes https://github.com/NixOS/nixpkgs/issues/107588
This commit is contained in:
commit
9b2963d1e3
26
pkgs/development/libraries/speedtest-exporter/default.nix
Normal file
26
pkgs/development/libraries/speedtest-exporter/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue