Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / packet-sd / default.nix
blob5f61b584489c633e9eb92b548ef2c0dfd5685325
1 { buildGoModule, fetchFromGitHub, lib }:
2 buildGoModule rec {
3   pname = "prometheus-packet-sd";
4   version = "0.0.3";
6   src = fetchFromGitHub {
7     owner = "packethost";
8     repo = "prometheus-packet-sd";
9     rev = "v${version}";
10     sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM=";
11   };
13   vendorHash = null;
15   subPackages = [ "." ];
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   };