depot/third_party/gopkgs/github.com/prometheus/client_model/default.nix

18 lines
593 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_model";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "prometheus";
repo = "client_model";
rev = "60555c9708c786597e6b07bf846d0dc5c2a46f54";
hash = "sha256:1cdwzjm92zv2lacnmyw7rnmvay0hz4rknc5vs15r9jp7k0rai5yy";
};
deps = with depot.third_party; [
gopkgs."github.com".golang.protobuf.proto
gopkgs."github.com".golang.protobuf.ptypes.timestamp
];
}