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
|
|
|
|
];
|
2020-08-27 00:55:32 +02:00
|
|
|
} // { inherit localProto; meta.ci = false; }
|