about summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration/woodpecker/agent.nix
blob: 5bbc4cf99ceaa7b3230ebb4a1a5231617d87d950 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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";
  };
}