1{ buildGoModule, fetchFromGitHub, lib }:
2buildGoModule rec {
3 pname = "prometheus-packet-sd";
4 version = "0.0.3";
5
6 src = fetchFromGitHub {
7 owner = "packethost";
8 repo = "prometheus-packet-sd";
9 rev = "v${version}";
10 sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM=";
11 };
12
13 vendorHash = null;
14
15 subPackages = [ "." ];
16
17 meta = with lib; {
18 description = "Prometheus service discovery for Equinix Metal";
19 homepage = "https://github.com/packethost/prometheus-packet-sd";
20 license = licenses.asl20;
21 maintainers = [ ];
22 mainProgram = "prometheus-packet-sd";
23 };
24}