summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration/woodpecker/cli.nix
blob: d1f1da88168113e518eed321dad9382b8efadfc2 (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-cli";
  inherit (common) version src ldflags postInstall vendorHash;

  subPackages = "cmd/cli";

  CGO_ENABLED = 0;

  meta = common.meta // {
    description = "Command line client for the Woodpecker Continuous Integration server";
    mainProgram = "woodpecker-cli";
  };
}