5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
17 lines
372 B
Nix
17 lines
372 B
Nix
{ buildGoModule, callPackage }:
|
|
let
|
|
common = callPackage ./common.nix { };
|
|
in
|
|
buildGoModule {
|
|
pname = "woodpecker-agent";
|
|
inherit (common) version src ldflags postInstall vendorHash;
|
|
|
|
subPackages = "cmd/agent";
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
meta = common.meta // {
|
|
description = "Woodpecker Continuous Integration agent";
|
|
mainProgram = "woodpecker-agent";
|
|
};
|
|
}
|