mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
25 lines
611 B
Nix
25 lines
611 B
Nix
{ 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=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Prometheus service discovery for Equinix Metal";
|
|
homepage = "https://github.com/packethost/prometheus-packet-sd";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
mainProgram = "prometheus-packet-sd";
|
|
};
|
|
}
|