# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0

{ depot, ... }:
depot.third_party.buildGo.program {
  name = "minotarproxy";
  srcs = [ ./minotarproxy.go ];
  deps = with depot.third_party; [
    gopkgs."github.com".golang.glog
    gopkgs."github.com".google.uuid
    gopkgs."github.com".prometheus.client_golang.prometheus
    gopkgs."github.com".prometheus.client_golang.prometheus.promhttp
    gopkgs."golang.org".x.crypto.acme.autocert
  ];
}