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














                                                    
                            
{ 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; }