mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
feac9edf6a
Related PR: NixOS#246386
18 lines
395 B
Nix
18 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";
|
|
};
|
|
}
|