2020-08-11 00:13:20 +02:00
|
|
|
{ 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
|
|
|
|
];
|
2021-09-18 16:32:58 +02:00
|
|
|
} // { inherit localProto; }
|