2023-08-04 22:07:22 +00:00
|
|
|
{ buildGoModule, callPackage }:
|
2022-06-26 10:26:21 +00:00
|
|
|
let
|
|
|
|
common = callPackage ./common.nix { };
|
|
|
|
in
|
|
|
|
buildGoModule {
|
|
|
|
pname = "woodpecker-agent";
|
2023-08-04 22:07:22 +00:00
|
|
|
inherit (common) version src ldflags postInstall vendorHash;
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
subPackages = "cmd/agent";
|
|
|
|
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
|
|
|
|
meta = common.meta // {
|
|
|
|
description = "Woodpecker Continuous Integration agent";
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "woodpecker-agent";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
}
|