mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
cloudprober: init at 1.14.0
This commit is contained in:
parent
c549cc924f
commit
f62a8d4db8
1 changed files with 39 additions and 0 deletions
39
pkgs/by-name/cl/cloudprober/package.nix
Normal file
39
pkgs/by-name/cl/cloudprober/package.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "cloudprober";
|
||||||
|
version = "0.14.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cloudprober";
|
||||||
|
repo = "cloudprober";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-t32mALyxtapPSzf/pNG0MGS2jjq0Dwm31qQZAlZI5zE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-u/glcoLlNXDEWFblnuvRHK9mUNCXTsfcWR+FDsJeOOA=";
|
||||||
|
|
||||||
|
checkFlags =
|
||||||
|
let
|
||||||
|
# Skip tests that require network access
|
||||||
|
skippedTests = [
|
||||||
|
"TestSaveProbesConfig"
|
||||||
|
"TestRunProbeRealICMP"
|
||||||
|
"TestMultipleTargetsMultipleRequests"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Monitor availability and performance of various components of your system";
|
||||||
|
homepage = "https://cloudprober.org/";
|
||||||
|
changelog = "https://github.com/cloudprober/cloudprober/releases/tag/v${version}";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ xgwq ];
|
||||||
|
mainProgram = "cloudprober";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue