about summary refs log tree commit diff
path: root/tools/depot-scanner/default.nix
blob: e6fd5dec292cddeaeee2cfb9a262279cfcca628e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ depot, pkgs, ...}:

let
  localProto = depot.nix.buildGo.grpc {
    name = "code.tvl.fyi/tools/depot-scanner/proto";
    proto = ./depot_scanner.proto;
  };
in depot.nix.buildGo.program {
  name = "depot-scanner";
  srcs = [
    ./main.go
  ];
  deps = [
    localProto
  ];
} // { inherit localProto; meta.ci = false; }