nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildGoModule, callPackage, fetchFromGitHub }:
2let
3 common = callPackage ./common.nix { };
4in
5buildGoModule {
6 pname = "woodpecker-cli";
7 inherit (common) version src ldflags postBuild;
8 vendorSha256 = null;
9
10 subPackages = "cmd/cli";
11
12 CGO_ENABLED = 0;
13
14 meta = common.meta // {
15 description = "Command line client for the Woodpecker Continuous Integration server";
16 };
17}