The point was initially to quickly test the release candidate and wait for the official v2. Unfortunately I've encountered some issues trying to get the package working for the official version. So let's just roll with it for now...
17 lines
395 B
Nix
17 lines
395 B
Nix
{ 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";
|
|
};
|
|
}
|