17 lines
381 B
Nix
17 lines
381 B
Nix
|
{ lib, buildGoModule, callPackage, fetchFromGitHub }:
|
||
|
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";
|
||
|
};
|
||
|
}
|