2024-02-07 01:22:34 +00:00
|
|
|
{ buildGoModule, callPackage }:
|
2022-06-26 10:26:21 +00:00
|
|
|
let
|
|
|
|
common = callPackage ./common.nix { };
|
|
|
|
in
|
|
|
|
buildGoModule {
|
|
|
|
pname = "woodpecker-server";
|
2023-08-04 22:07:22 +00:00
|
|
|
inherit (common) version src ldflags postInstall vendorHash;
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
subPackages = "cmd/server";
|
|
|
|
|
|
|
|
CGO_ENABLED = 1;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = ./update.sh;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = common.meta // {
|
|
|
|
description = "Woodpecker Continuous Integration server";
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "woodpecker-server";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
}
|