Merge pull request #104500 from andir/packet-sd

packet-sd: init at 0.0.3
This commit is contained in:
Martin Weinelt 2020-11-21 20:41:53 +01:00 committed by GitHub
commit 7ddff4b6e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ 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;
platforms = platforms.linux;
maintainers = [ maintainers.andir ];
};
}

View file

@ -22993,6 +22993,8 @@ in
packet = callPackage ../development/tools/packet { };
packet-sd = callPackage ../development/tools/packet-sd { };
packet-cli = callPackage ../development/tools/packet-cli { };
pb_cli = callPackage ../tools/misc/pb_cli {};