2020-11-21 19:51:51 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "prometheus-packet-sd";
|
|
|
|
version = "0.0.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "packethost";
|
|
|
|
repo = "prometheus-packet-sd";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Prometheus service discovery for Equinix Metal";
|
|
|
|
homepage = "https://github.com/packethost/prometheus-packet-sd";
|
|
|
|
license = licenses.asl20;
|
2020-12-25 13:55:36 +00:00
|
|
|
platforms = platforms.unix;
|
2022-01-19 23:45:15 +00:00
|
|
|
maintainers = [ ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "prometheus-packet-sd";
|
2020-11-21 19:51:51 +00:00
|
|
|
};
|
|
|
|
}
|