30 lines
785 B
Nix
30 lines
785 B
Nix
{
|
|
buildGoModule,
|
|
lib,
|
|
fetchFromGitLab,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gitlab-pages";
|
|
version = "17.6.1";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitLab {
|
|
owner = "gitlab-org";
|
|
repo = "gitlab-pages";
|
|
rev = "v${version}";
|
|
hash = "sha256-fLQ2Hd1GtSBfxUJIozf4xcXC5yvNX4xqh0H0UVL55kw=";
|
|
};
|
|
|
|
vendorHash = "sha256-2feUOWcGj7eQ43rfM6IF55BawYVP4UY5sKA29Y9ozPk=";
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
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${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = teams.gitlab.members;
|
|
};
|
|
}
|