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-agent";
7 inherit (common) version src ldflags postBuild;
8 vendorSha256 = null;
9
10 subPackages = "cmd/agent";
11
12 CGO_ENABLED = 0;
13
14 meta = common.meta // {
15 description = "Woodpecker Continuous Integration agent";
16 };
17}