1{
2 buildGoModule,
3 lib,
4 fetchFromGitLab,
5}:
6
7buildGoModule rec {
8 pname = "gitlab-pages";
9 version = "18.2.1";
10
11 # nixpkgs-update: no auto update
12 src = fetchFromGitLab {
13 owner = "gitlab-org";
14 repo = "gitlab-pages";
15 rev = "v${version}";
16 hash = "sha256-z1Pl3xeaoqeF/9qOVcuCpuciu1r6NQ4UhlLe9gy9+nE=";
17 };
18
19 vendorHash = "sha256-OubXCpvGtGqegQmdb6R1zw/0DfQ4FdbJGt7qYYRnWnA=";
20 subPackages = [ "." ];
21
22 meta = {
23 description = "Daemon used to serve static websites for GitLab users";
24 mainProgram = "gitlab-pages";
25 homepage = "https://gitlab.com/gitlab-org/gitlab-pages";
26 changelog = "https://gitlab.com/gitlab-org/gitlab-pages/-/blob/v${version}/CHANGELOG.md";
27 license = lib.licenses.mit;
28 teams = [ lib.teams.gitlab ];
29 };
30}