24 lines
863 B
Nix
24 lines
863 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, ... }:
|
|
depot.third_party.buildGo.external {
|
|
path = "github.com/prometheus/client_golang";
|
|
src = depot.third_party.nixpkgs.fetchFromGitHub {
|
|
owner = "prometheus";
|
|
repo = "client_golang";
|
|
rev = "06b1a0a6ae29dd8b39953dc7f1954a0b2fd680be";
|
|
hash = "sha256:1a7ic0llbqypp8rgw4ax472nwiqm28y736qfbiscxc6lzkgzhdir";
|
|
};
|
|
deps = with depot.third_party; [
|
|
gopkgs."github.com".beorn7.perks.quantile
|
|
gopkgs."github.com".cespare.xxhash.v2
|
|
gopkgs."github.com".golang.protobuf.proto
|
|
gopkgs."github.com".golang.protobuf.ptypes
|
|
gopkgs."github.com".prometheus.client_model.go
|
|
gopkgs."github.com".prometheus.common.expfmt
|
|
gopkgs."github.com".prometheus.common.model
|
|
gopkgs."github.com".prometheus.procfs
|
|
];
|
|
}
|