1{ buildGoModule, lib, fetchFromGitLab }:
2
3buildGoModule rec {
4 pname = "gitlab-pages";
5 version = "16.10.6";
6
7 # nixpkgs-update: no auto update
8 src = fetchFromGitLab {
9 owner = "gitlab-org";
10 repo = "gitlab-pages";
11 rev = "v${version}";
12 hash = "sha256-30ojS+TBIJ4Qzg1jh2Bpdd2s2Yo2S+UqxRRdvNBvB/k=";
13 };
14
15 vendorHash = "sha256-WrR4eZRAuYkhr7ZqP7OXqJ6uwvxzn+t+3OdBNcNaq0M=";
16 subPackages = [ "." ];
17
18 meta = with lib; {
19 description = "Daemon used to serve static websites for GitLab users";
20 mainProgram = "gitlab-pages";
21 homepage = "https://gitlab.com/gitlab-org/gitlab-pages";
22 changelog = "https://gitlab.com/gitlab-org/gitlab-pages/-/blob/v${version}/CHANGELOG.md";
23 license = licenses.mit;
24 maintainers = teams.helsinki-systems.members ++ teams.gitlab.members;
25 };
26}