go-copilot-proxy/package.nix
2025-08-05 11:08:53 +02:00

23 lines
494 B
Nix

{
lib,
buildGoModule,
...
}:
buildGoModule {
name = "go-copilot-proxy";
src =
# filter everything except for cmd/, internal/ and go.mod, go.sum
with lib.fileset;
toSource {
root = ./.;
fileset = unions [
./cmd
./internal
./go.mod
./go.sum
];
};
subPackages = ["cmd/go-copilot-proxy"];
vendorHash = "sha256-/+6NnofnE3IrtUbHJrgDE2VFK6Gj40rodtE/42LvPMk=";
meta.mainProgram = "go-copilot-proxy";
}