a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
18 lines
325 B
Nix
18 lines
325 B
Nix
{ 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; }
|