
according to upstream starting with v3.0.0. Previously the opposite was true, so we simply invert the deprecation wrapper added in ee4670a8210d326e2de4f38f5cb7e87b24bd2264. Ref: 3d7e60beb0224d40e86f4120e15302cdb0af94e9
24 lines
424 B
Nix
24 lines
424 B
Nix
{ buildGoModule, callPackage }:
|
|
let
|
|
common = callPackage ./common.nix { };
|
|
in
|
|
buildGoModule {
|
|
pname = "woodpecker-cli";
|
|
inherit (common)
|
|
version
|
|
src
|
|
ldflags
|
|
postInstall
|
|
vendorHash
|
|
;
|
|
|
|
subPackages = "cmd/cli";
|
|
|
|
env.CGO_ENABLED = 0;
|
|
|
|
meta = common.meta // {
|
|
description = "Command line client for the Woodpecker Continuous Integration server";
|
|
mainProgram = "woodpecker-cli";
|
|
};
|
|
}
|