{ buildGoModule, lib, fetchFromGitLab, }: buildGoModule (finalAttrs: { pname = "gitlab-pages"; version = "19.2.4"; # nixpkgs-update: no auto update src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-pages"; rev = "v${finalAttrs.version}"; hash = "sha256-GXhKAk6PVOK/y5FjRDWkKukqK4j2DTONsDMkbPZ/Iz4="; }; vendorHash = "sha256-aTnRSas8PgxPLLcBExNb5GHYXV0eLc1gD4Ky+50/kfw="; subPackages = [ "." ]; ldflags = [ "-X" "main.VERSION=${finalAttrs.version}" ]; meta = { description = "Daemon used to serve static websites for GitLab users"; mainProgram = "gitlab-pages"; homepage = "https://gitlab.com/gitlab-org/gitlab-pages"; changelog = "https://gitlab.com/gitlab-org/gitlab-pages/-/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; teams = [ lib.teams.gitlab ]; }; })