1{ buildGoModule, callPackage }:
2let
3 common = callPackage ./common.nix { };
4in
5buildGoModule {
6 pname = "woodpecker-cli";
7 inherit (common)
8 version
9 src
10 ldflags
11 postInstall
12 vendorHash
13 ;
14
15 subPackages = "cmd/cli";
16
17 env.CGO_ENABLED = 0;
18
19 meta = common.meta // {
20 description = "Command line client for the Woodpecker Continuous Integration server";
21 mainProgram = "woodpecker-cli";
22 };
23}