This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/ci/woodpecker/cli.nix

25 lines
485 B
Nix
Raw Normal View History

2023-04-08 18:11:07 +00:00
{
lib,
buildGoModule,
callPackage,
fetchFromGitHub,
}: let
common = callPackage ./common.nix {};
in
buildGoModule {
pname = "woodpecker-cli";
inherit (common) version src ldflags postBuild;
vendorSha256 = builtins.readFile ./cli.sha256;
proxyVendor = true;
subPackages = "cmd/cli";
CGO_ENABLED = 0;
meta =
common.meta
// {
description = "Command line client for the Woodpecker Continuous Integration server";
};
}