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

{ depot, ... }:

depot.third_party.buildGo.program {
  name = "darwiningestd";
  srcs = [ ./darwiningestd.go ];
  deps = with depot.third_party; [
    gopkgs."github.com".aws.aws-sdk-go.aws
    gopkgs."github.com".aws.aws-sdk-go.aws.credentials
    gopkgs."github.com".aws.aws-sdk-go.aws.session
    gopkgs."github.com".go-stomp.stomp.v3
    gopkgs."github.com".jackc.pgx.v4
    gopkgs."github.com".jlaffaye.ftp
    gopkgs."gocloud.dev".blob
    gopkgs."gocloud.dev".blob.s3blob
    depot.go.trains.darwin
    depot.go.trains.darwin.darwindb
    depot.go.trains.darwin.darwingest
    depot.go.trains.darwin.darwingest.darwingeststomp
  ];
}