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

{ depot, ... }:
depot.third_party.buildGo.program {
  name = "bcacheup";
  srcs = [
    ./bcacheup.go
  ];
  deps = with depot; [
    third_party.gopkgs."gocloud.dev".blob
    third_party.gopkgs."gocloud.dev".blob.fileblob
    third_party.gopkgs."gocloud.dev".blob.gcsblob
    third_party.gopkgs."golang.org".x.sync.errgroup
    third_party.gopkgs."golang.org".x.sync.singleflight
    third_party.gopkgs."github.com".ulikunitz.xz
    go.nix.nar
    go.nix.nar.narinfo
    go.nix.nixstore
  ];
}