mirror of
https://gitlab.com/TECHNOFAB/go-copilot-proxy.git
synced 2025-12-11 22:10:06 +01:00
24 lines
494 B
Nix
24 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";
|
||
|
|
}
|