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/agent.nix

22 lines
401 B
Nix
Raw Normal View History

2023-04-08 18:11:07 +00:00
{
2023-04-21 13:51:47 +00:00
buildGoApplication,
2023-04-08 18:11:07 +00:00
callPackage,
}: let
common = callPackage ./common.nix {};
in
2023-04-21 13:51:47 +00:00
buildGoApplication {
2023-04-08 18:11:07 +00:00
pname = "woodpecker-agent";
inherit (common) version src ldflags postBuild;
2023-04-21 13:51:47 +00:00
modules = ./gomod2nix.toml;
2023-04-08 18:11:07 +00:00
subPackages = "cmd/agent";
CGO_ENABLED = 0;
meta =
common.meta
// {
description = "Woodpecker Continuous Integration agent";
};
}